@font-face {
  font-family: Raleway;
  src: url("assets/raleway-latin.woff2") format("woff2");
  font-weight: 300 750;
  font-display: swap;
}
@font-face {
  font-family: "Loamy Song";
  src: url("assets/noto-serif-sc-loamy-light.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Loamy Hei";
  src: url("assets/noto-sans-sc-loamy.woff2") format("woff2");
  font-weight: 365 750;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page-background: #fff;
  --paper: #fffdfa;
  --bone: #f5f2eb;
  --stone: #e8e2d6;
  --clay: #661d12;
  --clay-deep: color-mix(in srgb, var(--clay) 85%, black);
  --ink: #211e1a;
  --muted: #5c544a;
  --line: #d9d0c3;
  --focus: var(--clay);
  --gutter: clamp(1.15rem, 5vw, 5.5rem);
  --frame: 79rem;
  --song: "Songti SC", SimSun, "Loamy Song", "Noto Serif CJK SC", serif;
  --display: Raleway, var(--song);
  --sans: Raleway, var(--song);
  --body: clamp(1rem, .98rem + .14vw, 1.11rem);
  --small: .875rem;
  --nav-weight: 340;
  --masthead-height: clamp(3.65rem, min(6.2vw, calc(11svh - 1.25rem)), 5.25rem);
  --nav-height: 3.05rem;
  --header-height: calc(var(--masthead-height) + var(--nav-height));
  --compact-header-height: 4rem;
  --anchor-header-height: var(--header-height);
}
:root:lang(zh-Hans) { --nav-weight: 365; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--anchor-header-height) + 1rem); }
body { margin: 0; background: var(--page-background); color: var(--ink); font: 400 var(--body)/1.65 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 300 clamp(2.6rem, 5vw, 5.05rem)/1.04 var(--display); letter-spacing: -.023em; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.2rem); }
#collection-title, #about-title, #lesson-title, #contact-title { font-size: 23px; }
h3 { font-size: clamp(1.45rem, 2.25vw, 2.3rem); }
a { color: inherit; }
img, video { display: block; width: 100%; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--stone); color: var(--ink); }
.frame { width: min(calc(100% - var(--gutter) * 2), var(--frame)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 6; transform: translateY(-160%); background: var(--paper); padding: .65rem 1rem; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--clay);
  color: var(--paper);
  transition: background-color .2s ease, color .2s ease;
}
.site-header[data-overlay] { margin-bottom: calc(-1 * var(--header-height)); }
.site-header[data-overlay]:not([data-scrolled]):not([data-menu-open]) { background: transparent; color: #fff; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }
.header-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: var(--masthead-height) auto;
  align-items: center;
}
.menu-toggle { display: none; }
.wordmark { grid-area: 1 / 2; display: flex; align-items: center; min-height: 44px; width: clamp(12rem, 22vw, 20rem); }
:is(.wordmark, .footer-logo) img { height: auto; }
.wordmark-lettering { position: relative; flex: 1; min-width: 0; }
.wordmark-pottery {
  position: absolute;
  inset: 0;
  clip-path: inset(-2px -2px -2px 50%);
  opacity: .35;
  filter: drop-shadow(.2px 0 #fff) drop-shadow(-.2px 0 #fff)
    drop-shadow(0 .2px #fff) drop-shadow(0 -.2px #fff);
}

.languages { grid-area: 1 / 3; justify-self: end; display: flex; align-items: center; gap: clamp(.4rem, 1vw, .85rem); }
.languages > *, .main-nav a, .footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: var(--small);
  font-weight: var(--nav-weight);
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: .45em;
  white-space: nowrap;
}
.languages > * { font-size: .8125rem; }
.languages a { color: var(--muted); }
.site-header :is(.main-nav a, .languages > *) { color: inherit; }
.languages [aria-current], .main-nav a[aria-current], .languages a:hover, .main-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.main-nav { grid-area: 2 / 1 / 3 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; min-height: var(--nav-height); gap: 0 clamp(.8rem, 3.2vw, 3.3rem); }
.main-nav a { text-transform: uppercase; letter-spacing: .055em; font-size: .8125rem; }
:lang(zh-Hans) .main-nav a { letter-spacing: .04em; }

@media (width > 760px) {
  .site-header:not([data-scrolled]) .main-nav a { padding-bottom: 1rem; }
  :root[data-menu-ready] { --anchor-header-height: var(--compact-header-height); }
  .site-header[data-scrolled] { --header-height: var(--compact-header-height); }
  [data-scrolled] .header-content {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: var(--compact-header-height);
    column-gap: clamp(.65rem, 1.6vw, 1.75rem);
  }
  [data-scrolled] .wordmark { grid-area: 1 / 1; width: clamp(8.5rem, 12vw, 11rem); }
  [data-scrolled] .main-nav { grid-area: 1 / 2; flex-wrap: nowrap; gap: clamp(.65rem, 1.6vw, 1.75rem); }
}
.home-hero {
  display: grid;
  isolation: isolate;
  margin-bottom: clamp(2.75rem, 5vw, 5rem);
}
.campaign-image,
.home-intro { grid-area: 1 / 1; }
.campaign-image {
  position: relative;
  overflow: hidden;
  background: #c9c9c9;
}
.campaign-image::after {
  position: absolute;
  inset: 0 0 auto;
  height: min(42%, 14rem);
  background: linear-gradient(rgb(25 19 14 / .44), rgb(25 19 14 / .12) 60%, transparent);
  content: "";
  pointer-events: none;
}
.campaign-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.home-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  justify-self: start;
  width: 46%;
  min-height: max(29rem, 50vw);
  margin: 0;
  padding: 2rem var(--gutter);
  text-align: left;
  color: #333333;
  font-size: calc(var(--body) * .9);
}
.site-header[data-overlay] + main .home-intro {
  padding-top: calc(var(--header-height) + 2rem);
}
.home-intro :is(p, .studio-name, .collection-link) { color: inherit; }
.home-intro h1 { font-size: clamp(2.35rem, 4.5vw, 4.85rem); letter-spacing: -.03em; }
.home-intro p { max-width: 60ch; margin-top: .65rem; }
.home-intro .studio-motto { margin-top: 1.25rem; }
.home-hero-studio .home-intro [lang="zh-Hans"] {
  font-family: var(--song);
  font-weight: 400;
}
.home-intro :is(.studio-name, .studio-translation) {
  font-weight: 400;
}
.home-intro .studio-name {
  max-width: none;
  margin-top: .75rem;
  font-size: calc(clamp(1.2rem, 2.2vw, 2.35rem) * .9);
  line-height: 1.16;
  letter-spacing: .025em;
}
.collection-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  color: var(--clay);
  text-decoration: none;
  font-size: var(--small);
  font-weight: 550;
}
.collection-link span { border-bottom: 1px solid currentColor; padding-bottom: .16rem; }
.home-intro .collection-link { font-size: calc(var(--small) * .9); }
.collection-link:hover { color: var(--clay-deep); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: .68rem 1.35rem;
  border: 1px solid var(--clay);
  border-radius: 0;
  color: var(--paper);
  background: var(--clay);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font: 550 var(--small)/1.45 var(--sans);
}
.button:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.button:active { transform: translateY(1px); }
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.section-intro > p { max-width: 48ch; color: var(--muted); }
.note { color: var(--muted); font-size: var(--small); }
.collection { padding-bottom: clamp(3.25rem, 7vw, 7rem); }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.5vw, 2.5rem); }
.collection-piece { min-width: 0; }
.piece-image { background: var(--bone); }
.piece-image img { height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.piece-caption { display: flex; align-items: start; justify-content: space-between; gap: .55rem 1.15rem; padding-top: 1.1rem; }
.piece-caption .piece-name { font-size: clamp(1.2rem, 1.65vw, 1.6rem); line-height: 1.35; }
.piece-name span { display: block; }
.piece-name span[lang="zh-Hans"] { font-family: var(--song); font-weight: 400; font-style: normal; letter-spacing: .015em; }
.piece-name span[lang="en-AU"] { margin-top: .45rem; font-size: .8em; }
.piece-caption p { color: var(--muted); font-size: .8125rem; margin-top: .65rem; }
.piece-caption .button {
  min-width: 44px;
  min-height: 44px;
  font-size: .8125rem;
  justify-content: end;
  padding: 0;
  border: 0;
  color: var(--clay);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .35em;
}
.piece-caption .button:hover { color: var(--clay-deep); background: transparent; }
.about-section { padding-block: clamp(3.1rem, 6vw, 6rem); }
.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}
.about-copy { max-width: 40rem; font-size: calc(var(--body) * .9); }
.about-copy p + p { margin-top: 1.5rem; }
.about-copy h2 + p { margin-top: 1.5rem; }
.artist-portrait { width: min(100%, 27rem); justify-self: center; }
.artist-portrait img { height: auto; }
.lesson-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(2rem, 6vw, 6.2rem); }
.description { max-width: 41ch; margin-top: 1rem; color: var(--muted); }
.facts { margin-block: 1.55rem; border-top: 1px solid var(--line); } /* taste-skill-ignore: specification table boundary */
.facts > div { display: grid; grid-template-columns: minmax(6rem, .85fr) minmax(0, 1.15fr); align-items: baseline; gap: .6rem; border-bottom: 1px solid var(--line); padding-block: .66rem; } /* taste-skill-ignore: specification row separator */
.facts dt { color: var(--muted); font-size: var(--small); }
.facts dd { font-size: var(--small); }

.lesson-page { padding-block: clamp(2.2rem, 6vw, 6rem); }
.lesson-image img { height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--bone); }

.contact-page { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; padding-block: clamp(2.8rem, 7vw, 7rem); }
.contact-page form { display: grid; gap: 1.15rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.contact-page label { display: grid; gap: .4rem; min-width: 0; font-size: var(--small); font-weight: 550; }
input, select, textarea { min-width: 0; width: 100%; min-height: 3rem; border: 1px solid #877d70; border-radius: 0; background: var(--paper); padding: .6rem .72rem; color: var(--ink); font: 400 1rem/1.5 var(--sans); }
textarea { resize: vertical; }
.contact-page form > .button { justify-self: start; }
#enquiry-status:empty { display: none; }
.contact-page .button:disabled { opacity: .7; cursor: wait; }
.enquiry-receipt { padding-block: clamp(3rem, 12vh, 8rem); }
.enquiry-receipt .collection-link { margin-top: 1rem; }

.site-footer { background: var(--clay); color: var(--paper); }
.footer-content { display: grid; justify-items: center; gap: .55rem; text-align: center; padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.footer-logo { display: block; width: clamp(7rem, 11vw, 9rem); margin-bottom: .35rem; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(.75rem, 2.3vw, 2.2rem); }
.footer-nav a { color: inherit; }
.footer-content p { font-size: var(--small); }

:lang(zh-Hans) :is(h1, h2, h3) { font-family: var(--display); font-weight: 400; letter-spacing: .015em; line-height: 1.2; }
:lang(zh-Hans) h1 { font-size: clamp(2.55rem, 4.45vw, 4.45rem); }
.home-hero-studio .home-intro h1 { font-size: calc(clamp(2.25rem, 4vw, 4.1rem) * .9); }
:lang(zh-Hans) .home-intro p { max-width: 30em; }

@media (prefers-reduced-motion: no-preference) {
  .in-view { animation: appear .55s cubic-bezier(.2,.65,.3,1) both; }
  p.in-view, .collection-piece:nth-child(2).in-view { animation-delay: .06s; }
  .collection-piece:nth-child(3).in-view { animation-delay: .12s; }
  @keyframes appear { from { opacity: .7; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
@media (max-width: 900px) {
  .piece-caption { flex-wrap: wrap; }
  .lesson-page { gap: 2rem; }
}
@media (max-width: 760px) {
  :root { --masthead-height: 3.65rem; --nav-height: 2.85rem; }
  :root[data-menu-ready] { --nav-height: 0px; }
  .wordmark { width: clamp(8.5rem, 43vw, 11.5rem); }
  .languages [aria-current="page"] { display: none; }
  .languages a { min-width: 44px; justify-content: end; }
  .menu-toggle {
    display: inline-flex;
    grid-area: 1 / 1;
    justify-self: start;
    align-items: center;
    gap: .38rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: var(--nav-weight) .8125rem/1 var(--sans);
  }
  .menu-icon { position: relative; width: 15px; height: 12px; flex: 0 0 auto; }
  .menu-icon::before, .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 100%;
    height: 1.25px;
    background: currentColor;
  }
  .menu-icon::before { transform: translateY(-2.5px); }
  .menu-icon::after { transform: translateY(2.5px); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  [data-menu-ready] .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    max-height: calc(100dvh - var(--masthead-height));
    overflow: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: .25rem var(--gutter) 1rem;
    background: var(--clay);
    box-shadow: 0 .75rem 1rem rgb(33 30 26 / .08);
  }
  .site-header[data-menu-open] .main-nav { display: grid; justify-content: stretch; gap: 0; }
  .site-header[data-menu-open] .main-nav a {
    justify-content: start;
    min-height: 48px;
    border-top: 1px solid rgb(255 253 250 / .3);
    font-size: .9375rem;
  }
  .site-header[data-menu-open] .main-nav a:focus-visible { outline-offset: -3px; }
  .main-nav a { letter-spacing: 0; text-transform: none; }
  :lang(zh-Hans) .main-nav a { letter-spacing: 0; }
  .home-intro { width: 64%; min-height: 25rem; padding-inline: 1rem; }
  .home-intro h1 { font-size: clamp(2.05rem, 7.5vw, 3.35rem); }
  .home-intro p { max-width: 36ch; }
  .section-intro { display: grid; }
  .about-page, .lesson-page, .contact-page { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .lesson-image img { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .collection-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
}
@media (max-width: 415px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .languages { gap: .35rem; }
  .languages > *, .main-nav a { font-size: .75rem; }
  .main-nav { gap: .45rem; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, auto); column-gap: 1.25rem; }
}
