:root {
  color-scheme: light;
  --paper: #fffefa; --panel: #f4eee2; --ink: #282013; --muted: #665540;
  --accent: #704710; --rule: #b79862; --foil: linear-gradient(130deg,#72450c,#a86f1c 46%,#70450d);
  --scene: none; --blend: multiply; --scale: 1;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151412; --panel: #24201a; --ink: #fff1d2; --muted: #d0bd98;
  --accent: #f5ce7d; --rule: #967643; --foil: linear-gradient(130deg,#aa7626,#fff0b2 39%,#e5ac45 66%,#b8802a);
  --scene: url(#gold-engraving); --blend: normal;
}
html { font-size: calc(100% * var(--scale)); scroll-padding-top: 1rem; }
html[data-size="small"] { --scale: .9; }
html[data-size="large"] { --scale: 1.18; }
html[data-size="xlarge"] { --scale: 1.34; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 "Noto Sans Thai", system-ui, sans-serif; }
span:is([lang=th],[lang=en],[lang=zh-Hans],[lang=ja]) { display: none; }
html[lang=th] span[lang=th], html[lang=en] span[lang=en],
html[lang=zh-Hans] span[lang=zh-Hans], html[lang=ja] span[lang=ja] { display: revert; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
button { font: inherit; color: inherit; background: transparent; border: 1px solid var(--rule); cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 80rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; transform: translateY(-150%); background: var(--paper); padding: .6rem; }
.skip:focus { transform: none; }
header .wrap, nav, .tools, .actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
header .wrap { justify-content: space-between; border-bottom: 1px solid var(--rule); padding-block: .85rem; }
header .top { display: contents; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font: 700 .98rem Georgia, serif; letter-spacing: .15em; }
.brand-mark { width: 3rem; aspect-ratio: 326 / 260; background: var(--foil); mask: url('/ship-mark.png') center / contain no-repeat; }
nav { order: 1; justify-content: center; gap: .45rem 1.1rem; font-size: .84rem; }
nav a { text-decoration: none; color: inherit; }
nav a:hover { text-decoration: underline; }
.tools { order: 2; flex-wrap: nowrap; gap: .5rem; }
.utility { position: relative; }
.round, .utility summary { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; }
.utility summary { list-style: none; }
.utility summary::-webkit-details-marker { display: none; }
.round svg, .utility svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.round span { display: grid; place-items: center; }
.round .sun, .round[aria-pressed=true] .moon { display: none; }
.round[aria-pressed=true] .sun { display: grid; }
#language-badge { position: absolute; bottom: -.16rem; right: -.13rem; padding: 0 .18rem; background: var(--paper); border: 1px solid var(--rule); font: 700 .61rem system-ui; }
.type-symbol { position: relative; padding-right: .3rem; }
.type-symbol sup, .type-symbol sub { position: absolute; right: -.13rem; font-size: .62rem; }
.utility-panel { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 4; display: flex; gap: .3rem; padding: .45rem; background: var(--paper); border: 1px solid var(--rule); white-space: nowrap; }
.utility-panel button { padding: .35rem .55rem; }
.utility-panel button[aria-pressed=true] { background: var(--panel); }
.hero .split { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.25fr); align-items: center; min-height: clamp(28rem, 48vw, 40rem); gap: clamp(1rem, 3vw, 3rem); padding-block: 1rem; }
.hero-copy { padding-block: 2rem; }
.location { display: flex; align-items: center; gap: .65rem; color: var(--accent); font-size: .86rem; }
.location::before { content: ""; width: 2.15rem; height: 1px; background: var(--rule); }
h1, h2, h3, p { margin: 0 0 .65em; }
h1, h2 { font-family: "Noto Serif Thai", Georgia, Tahoma, serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5.5vw, 5.75rem); letter-spacing: -.04em; margin-bottom: .16em; overflow-wrap: anywhere; }
:root[data-theme="dark"] h1 { color: #ffdf91; }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
h3 { font-size: 1.12rem; }
.subtitle { font-size: clamp(1.1rem, 2.1vw, 1.67rem); color: var(--muted); }
.actions { margin-top: 1.6rem; }
.actions a { display: inline-block; padding: .58rem .92rem; border: 1px solid var(--rule); font-weight: 700; text-decoration: none; }
.actions .primary { background: var(--foil); color: #fff; border-color: transparent; }
:root[data-theme="dark"] .actions .primary { color: #211609; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: clamp(21rem, 43vw, 35rem); background: radial-gradient(ellipse at 65% 48%, var(--panel), var(--paper) 73%); }
.hero-art { position: absolute; width: 100%; height: 62%; inset: auto 0 1% auto; object-fit: contain; object-position: center bottom; filter: var(--scene); mix-blend-mode: var(--blend); mask-image: linear-gradient(transparent,#000 26%); }
.hero-arch { position: absolute; width: 48%; height: 78%; bottom: 8%; right: 7%; border: 1px solid var(--rule); border-bottom: 0; border-radius: 50% 50% 0 0 / 26% 26% 0 0; opacity: .45; }
.bottle { position: relative; display: grid; justify-items: center; width: 45%; margin: 0 0 0 38%; align-self: end; }
.bottle img { width: 100%; object-fit: contain; }
.bottle-label { position: absolute; top: 51%; left: 23%; width: 54% !important; }
.product-image { max-height: 16rem; width: 100%; object-fit: contain; }
.homepage-pair { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.3rem,4vw,4rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.homepage-pair .section { border: 0; }
.homepage-pair .section + .section { border-left: 1px solid var(--rule); padding-left: clamp(1rem, 4vw, 3.5rem); }
.section { padding-block: clamp(1.8rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.section p { max-width: 53rem; }
.split, .maker-section, .city-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.maker-section { grid-template-columns: minmax(0, 1fr); }
.maker-art { display: none; }
.city-art { width: 100%; max-height: 18rem; object-fit: cover; filter: var(--scene); mix-blend-mode: var(--blend); }
figure { margin: 0; }
.note { color: var(--muted); font-size: .84rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .85rem; }
.card { padding: .9rem; border: 1px solid var(--rule); }
.card p { margin: 0; }
footer { padding-block: 1.5rem; }
@media (max-width: 960px) { nav { order: 3; flex-basis: 100%; justify-content: flex-start; } }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .hero .split, .homepage-pair, .city-section { grid-template-columns: minmax(0,1fr); gap: 0; }
  .hero-copy { padding-block: 1.3rem .2rem; }
  .hero-visual { min-height: 19rem; }
  .homepage-pair .section + .section { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* The bottle artwork keeps its original hues in both themes. */
.bottle { width: min(61%, 23rem); margin-left: 39%; }
.bottle-glass { height: auto; }
.bottle-label { display: grid; justify-items: center; gap: .13em; padding: .42em .17em; background: #092137; color: #fff7e2; border: 1px solid #5998ba; border-radius: 5%; font: clamp(.37rem, .76vw, .76rem)/1.3 Georgia, serif; letter-spacing: .065em; }
.bottle-label i { width: 44%; aspect-ratio: 326 / 260; background: #fff7e2; mask: url('/ship-mark.png') center / contain no-repeat; }
.bottle-label small { font-size: .72em; }
.product-bottle { width: min(100%, 11rem); margin: 0 auto; }
.product-bottle .bottle-label { font-size: clamp(.28rem, .55vw, .55rem); }
.actions .primary { background: #754609; }
:root[data-theme="dark"] .actions .primary { background: var(--foil); }
@media (max-width: 450px) {
  .brand { font-size: .8rem; letter-spacing: .07em; gap: .42rem; }
  .brand-mark { width: 2.25rem; }
  .round, .utility summary { width: 2.15rem; height: 2.15rem; }
}

/* Fretwork-inspired watermark, kept away from body copy. */
body { position: relative; isolation: isolate; }
body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .13; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22192%22%20height%3D%2296%22%20viewBox%3D%220%200%20192%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23b38a48%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2048Q24%208%2048%2048T96%2048T144%2048T192%2048M0%2048Q24%2088%2048%2048T96%2048T144%2048T192%2048%22%2F%3E%3Cpath%20d%3D%22M24%2028Q7%2044%2024%2062Q41%2044%2024%2028ZM72%2028Q55%2044%2072%2062Q89%2044%2072%2028ZM120%2028Q103%2044%20120%2062Q137%2044%20120%2028ZM168%2028Q151%2044%20168%2062Q185%2044%20168%2028Z%22%2F%3E%3Cpath%20d%3D%22M24%2038L30%2048L24%2058L18%2048ZM72%2038L78%2048L72%2058L66%2048ZM120%2038L126%2048L120%2058L114%2048ZM168%2038L174%2048L168%2058L162%2048Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right top repeat; mask-image: linear-gradient(90deg,transparent 70%,#000 100%); }
.ink-definitions { position: absolute; pointer-events: none; }
.hero-art { mask-image: radial-gradient(ellipse at 58% 65%,#000 39%,transparent 76%); }
.city-section { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.city-art { max-height: 22rem; object-fit: contain; object-position: right; mask-image: radial-gradient(ellipse at 63% 61%,#000 34%,transparent 74%); }
.temple { position: relative; display: grid; justify-items: center; gap: .65rem; padding-block: 1.5rem 2rem; border-bottom: 1px solid var(--rule); text-align: center; }
.temple img { width: min(100%, 23rem); height: auto; border-radius: 48% 48% .5rem .5rem / 22% 22% .5rem .5rem; }
.temple figcaption { font-size: .88rem; }
.temple figcaption a { font-size: .78rem; }
.actions a { border-radius: 1rem 1rem .38rem .38rem; min-height: 44px; }
.actions a:hover, .round:hover, .utility summary:hover { box-shadow: 0 0 0 2px var(--rule); }
.round, .utility summary { min-width: 44px; min-height: 44px; }
@media(max-width:680px){ .city-section { grid-template-columns: minmax(0,1fr); } }

/* The horse and the gold linework are composed on transparent artwork. */
.hero-art.carriage-scene, .city-art.carriage-scene {
  filter: none;
  mix-blend-mode: normal;
  mask-image: none;
  object-fit: contain;
}
.hero-art.carriage-scene { height: 82%; inset: auto 2% 0 auto; }
.city-art.carriage-scene { width: 100%; max-height: 28rem; object-position: center; }
@media (max-width: 680px) {
  .hero-art.carriage-scene { height: 77%; inset-inline-end: 0; }
}

/* Off-site agency links use topic icons and retain their translated names. */
.section, .hero, .homepage-pair, .homepage-pair .section + .section, .temple, header .wrap { border: 0; }
.section { padding-block: clamp(1.65rem, 3.4vw, 3rem); }
.temple { grid-template-columns: minmax(0,1fr) minmax(0,.7fr); align-items: center; justify-items: start; text-align: start; gap: clamp(1rem,3vw,3rem); padding-block: 0 clamp(1.2rem,3vw,2.5rem); }
.temple img { width: 100%; height: auto; border-radius: 0; }
.temple figcaption { font: 700 clamp(1.45rem,2.7vw,2.35rem)/1.35 "Noto Serif Thai", Georgia,Tahoma,serif; }
main a:not(.primary), footer a { text-decoration: none; }
main a:not(.primary):hover, main a:not(.primary):focus-visible, footer a:hover, footer a:focus-visible { text-decoration: underline; }
.section a:not(.agency-link)::after, footer a::after { content:" ↗" / ""; }
.agency-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(.55rem,2.2vw,2.1rem); margin-top: .6rem; }
.agency-link { display: grid; position: relative; width: 3.15rem; min-width: 44px; min-height: 44px; aspect-ratio: 1; place-items: center; }
.agency-link svg { width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.agency-link:hover svg, .agency-link:focus-visible svg { stroke-width: 1.65; }
.agency-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.agency-link:hover .agency-label, .agency-link:focus-visible .agency-label { z-index: 2; width: max-content; max-width: min(15rem, 66vw); height: auto; clip-path: none; top: 100%; left: 0; font-size: .8rem; color: var(--ink); background: var(--panel); border-radius: .35rem; box-shadow: 0 .25rem .8rem #0002; padding: .32rem .55rem; }
@media(max-width:680px){ .temple { grid-template-columns: minmax(0,1fr); gap: .5rem; } .temple figcaption { grid-row: 1; } }

/* The reading controls share a stable popover edge at every text size. */
.tools { position: relative; gap: clamp(.65rem,1.15vw,1rem); margin-inline-start: auto; z-index: 3; }
.tools .utility { position: static; }
.tools .utility summary, .tools .round { width: clamp(44px,3.15vw,54px); height: clamp(44px,3.15vw,54px); }
.tools .utility[open] summary { border-color: var(--accent); }
.tools .utility-panel { display: block; top: calc(100% + .8rem); right: 0; width: min(17rem,calc(100vw - 2rem)); max-width: none; padding: .9rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); box-shadow: 0 .65rem 1.9rem #21160925; white-space: normal; }
.tools .utility:not([open]) .utility-panel { display: none; }
.utility-heading { margin: 0 0 .55rem; font-weight: 700; }
.language-panel button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .55rem; border: 1px solid transparent; text-align: start; }
.language-panel button:hover, .size-controls button:not(:disabled):hover { background: var(--panel); }
.language-panel button[aria-pressed=true] { color: var(--accent); border-color: var(--rule); }
.language-panel button[aria-pressed=true]::after { content: "✓" / ""; }
.size-controls { display: grid; grid-template-columns: minmax(44px,2.75rem) minmax(0,1fr) minmax(44px,2.75rem); gap: .5rem; align-items: center; }
.size-controls button { min-height: 44px; padding: .2rem; font-weight: 700; }
.size-controls #normal { border-color: transparent; font-variant-numeric: tabular-nums; }
.type-symbol { display: inline-grid; grid-template: 1fr 1fr / auto auto; align-items: center; padding: 0; column-gap: .12em; font: 1.15rem/1 system-ui,sans-serif; }
.type-symbol::first-letter { font-size: inherit; }
.type-symbol sup,.type-symbol sub { position: static; grid-column: 2; font-size: .69em; line-height: 1; }
.type-symbol sup { grid-row: 1; }
.type-symbol sub { grid-row: 2; }
.type-symbol b { grid-area: 1 / 1 / 3 / 2; font-weight: 400; }

/* Give the carriage and the bottle separate space in the opening scene. */
.hero .split { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); min-height: clamp(25rem,43vw,36rem); }
.hero-visual.hero-pair {
  grid-template-columns: minmax(0,2.3fr) minmax(0,1fr);
  gap: clamp(.65rem,1.7vw,1.45rem);
  min-height: 0;
  align-items: end;
  padding-block: 1rem;
  background: radial-gradient(ellipse at 74% 60%,var(--panel),transparent 72%);
}
.hero-pair .hero-art.carriage-scene { position: static; width: 100%; height: auto; }
.hero-pair .bottle { width: 100%; max-width: 12rem; min-width: 0; margin: 0; }
.hero-pair .bottle-label { font-size: clamp(.3rem,.66vw,.67rem); }
.hero-pair .bottle-label b { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
@media (max-width: 960px) {
  .hero .split { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 0; }
  .hero-visual.hero-pair { max-width: 42rem; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero-visual.hero-pair { grid-template-columns: minmax(0,1fr); padding-block: .75rem 1.2rem; }
  .hero-pair .bottle { max-width: 8rem; }
  .hero-pair .bottle-label { font-size: .42rem; }
}

.home-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.65rem; padding-block: 1rem 2rem; }
.home-pages a { text-decoration: none; padding-block: .4rem; }
header nav [aria-current=page] { color: var(--accent); font-weight: 700; }
.page-content { padding-block: clamp(1.5rem,5vw,4.5rem); min-height: 52vh; }
.page-content .section { padding-block: 0; }
.page-content h1 { font-size: clamp(2.1rem,5vw,4.6rem); margin-block-end: .6em; }
.page-content .section > p { max-width: 55ch; }
.page-content .section::after { content: ""; display: block; clear: both; }
.page-art-wrap { float: inline-end; width: min(42%,27rem); margin-inline-start: clamp(1rem,3vw,3rem); display: grid; place-items: center; color: var(--accent); }
.page-art { width: 100%; height: auto; max-height: 20rem; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.contact-art { width: min(80%,13rem); }
.page-products .section, .page-craft .section { display: block; }
.page-products figure { width: min(100%,16rem); }
.page-products .page-art-wrap { opacity: .8; }
.page-lampang .temple { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); margin-block-end: .8rem; }
.page-lampang .temple img { max-height: 30rem; object-fit: contain; }
.page-lampang .city-section { margin-block-start: 1.7rem; }
.sources, .agency-directory { margin-block: 1rem; }
.sources summary, .agency-directory summary { cursor: pointer; color: var(--accent); width: fit-content; max-width: 100%; }
.sources a { display: block; width: fit-content; margin-block: .3rem; }
.section a:not(.agency-link)::after, footer a::after { content: none; }
.external-mark { display: inline-block; width: 1em; height: 1em; margin-inline-start: .28em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.agency-link .external-mark { position: absolute; top: 0; right: 0; width: .78rem; height: .78rem; }
.external-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(min-width:961px) {
  .hero-visual.hero-pair { grid-template-columns: minmax(0,1.92fr) minmax(0,1fr); column-gap: 0; }
  .hero-pair .bottle { max-width: 14.4rem; transform: translateX(-4%); z-index: 1; }
}
@media(max-width:680px) {
  .page-art-wrap { float: none; width: min(55%,13rem); margin: 0 auto 1rem; }
  .page-lampang .temple { grid-template-columns: minmax(0,1fr); }
  .page-content .agency-links { row-gap: .75rem; }
}

/* Keep the English wordmark intact while the scene responds to its own width. */
.hero-copy { container-type: inline-size; }
html:is([lang=en],[lang=zh-Hans],[lang=ja]) .hero-copy h1 { font-size: min(7rem,12.3cqi); white-space: nowrap; overflow-wrap: normal; }
.hero-visual.hero-pair { position: relative; padding-block-end: 1.85rem; }
@media (min-width: 961px) {
  .hero-visual.hero-pair { grid-template-columns: minmax(0,1.62fr) minmax(0,1fr); }
  .hero-pair .hero-art.carriage-scene { width: 107%; max-width: none; justify-self: start; }
  .hero-pair .bottle { max-width: 17rem; transform: translateX(-19%); }
}
@media (max-width: 480px) {
  .hero-pair .bottle { max-width: 9rem; }
}

/* The stone lines use the original illustration's hoof, wheel and building baselines. */
.hero-pair .hero-art.carriage-scene { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20470%20241%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%3E%3Cstop%20stop-color%3D%22%239c672a%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.1%22%20stop-color%3D%22%239c672a%22%2F%3E%3Cstop%20offset%3D%22.89%22%20stop-color%3D%22%239c672a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239c672a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url(%23a)%22%20stroke-width%3D%22.66%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20opacity%3D%220.65%22%20d%3D%22M0%20225.4l8%20-0.2m-6%200l1%201.2M14%20226.2l11%20-0.2m-6%200l2%201.2M28%20225.6l8%20-0.2m-6%200l3%201.2M42%20226.4l11%20-0.2m-6%200l1%201.2M56%20225.8l8%20-0.2m-6%200l2%201.2M70%20226.6l11%20-0.2m-6%200l3%201.2M84%20226.0l8%20-0.2m-6%200l1%201.2M98%20225.4l11%20-0.2m-6%200l2%201.2M112%20226.2l8%20-0.2m-6%200l3%201.2M126%20225.6l11%20-0.2m-6%200l1%201.2M140%20226.4l8%20-0.2m-6%200l2%201.2M154%20225.8l11%20-0.2m-6%200l3%201.2M168%20226.6l8%20-0.2m-6%200l1%201.2M182%20226.0l11%20-0.2m-6%200l2%201.2M196%20225.4l8%20-0.2m-6%200l3%201.2M210%20226.2l11%20-0.2m-6%200l1%201.2M224%20224.9l8%20-1.7m-6%200l2%201.2M238%20223.5l11%20-1.7m-6%200l3%201.2M252%20220.6l8%20-1.7m-6%200l1%201.2M266%20219.2l11%20-1.7m-6%200l2%201.2M280%20216.3l8%20-1.7m-6%200l3%201.2M294%20213.4l11%20-1.7m-6%200l1%201.2M308%20212.0l8%20-1.7m-6%200l2%201.2M322%20209.1l11%20-1.7m-6%200l3%201.2M336%20207.6l8%20-1.7m-6%200l1%201.2M350%20204.7l11%20-1.7m-6%200l2%201.2M364%20203.3l8%20-1.7m-6%200l3%201.2M378%20200.4l11%20-1.7m-6%200l1%201.2M392%20197.5l8%20-1.7m-6%200l2%201.2M406%20196.1l11%20-1.7m-6%200l3%201.2M420%20193.2l8%20-1.7m-6%200l1%201.2M434%20191.8l11%20-1.7m-6%200l2%201.2M448%20188.9l8%20-1.7m-6%200l3%201.2M462%20187.4l11%20-1.7m-6%200l1%201.2M476%20184.5l8%20-1.7m-6%200l2%201.2M490%20181.6l11%20-1.7m-6%200l3%201.2%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M7%20226.7l8%20-0.2m-6%200l1%201.4M21%20227.5l11%20-0.2m-6%200l2%201.4M35%20226.9l8%20-0.2m-6%200l3%201.4M49%20227.7l11%20-0.2m-6%200l1%201.4M63%20227.1l8%20-0.2m-6%200l2%201.4M77%20228.0l11%20-0.2m-6%200l3%201.4M91%20227.3l8%20-0.2m-6%200l1%201.4M105%20226.7l11%20-0.2m-6%200l2%201.4M119%20227.5l8%20-0.2m-6%200l3%201.4M133%20226.9l11%20-0.2m-6%200l1%201.4M147%20227.7l8%20-0.2m-6%200l2%201.4M161%20227.1l11%20-0.2m-6%200l3%201.4M175%20228.0l8%20-0.2m-6%200l1%201.4M189%20227.3l11%20-0.2m-6%200l2%201.4M203%20226.7l8%20-0.2m-6%200l3%201.4M217%20227.5l11%20-0.2m-6%200l1%201.4M231%20225.1l8%20-1.7m-6%200l2%201.4M245%20223.7l11%20-1.7m-6%200l3%201.4M259%20220.8l8%20-1.7m-6%200l1%201.4M273%20219.4l11%20-1.7m-6%200l2%201.4M287%20216.5l8%20-1.7m-6%200l3%201.4M301%20213.6l11%20-1.7m-6%200l1%201.4M315%20212.1l8%20-1.7m-6%200l2%201.4M329%20209.2l11%20-1.7m-6%200l3%201.4M343%20207.8l8%20-1.7m-6%200l1%201.4M357%20204.9l11%20-1.7m-6%200l2%201.4M371%20203.5l8%20-1.7m-6%200l3%201.4M385%20200.6l11%20-1.7m-6%200l1%201.4M399%20197.7l8%20-1.7m-6%200l2%201.4M413%20196.3l11%20-1.7m-6%200l3%201.4M427%20193.4l8%20-1.7m-6%200l1%201.4M441%20191.9l11%20-1.7m-6%200l2%201.4M455%20189.0l8%20-1.7m-6%200l3%201.4M469%20187.6l11%20-1.7m-6%200l1%201.4M483%20184.7l8%20-1.7m-6%200l2%201.4M497%20181.8l11%20-1.7m-6%200l3%201.4%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M0%20228.2l8%20-0.2m-6%200l1%201.5M14%20229.0l11%20-0.2m-6%200l2%201.5M28%20228.4l8%20-0.2m-6%200l3%201.5M42%20229.2l11%20-0.2m-6%200l1%201.5M56%20228.6l8%20-0.2m-6%200l2%201.5M70%20229.4l11%20-0.2m-6%200l3%201.5M84%20228.8l8%20-0.2m-6%200l1%201.5M98%20228.2l11%20-0.2m-6%200l2%201.5M112%20229.0l8%20-0.2m-6%200l3%201.5M126%20228.4l11%20-0.2m-6%200l1%201.5M140%20229.2l8%20-0.2m-6%200l2%201.5M154%20228.6l11%20-0.2m-6%200l3%201.5M168%20229.4l8%20-0.2m-6%200l1%201.5M182%20228.8l11%20-0.2m-6%200l2%201.5M196%20228.2l8%20-0.2m-6%200l3%201.5M210%20229.0l11%20-0.2m-6%200l1%201.5M224%20227.7l8%20-1.7m-6%200l2%201.5M238%20226.3l11%20-1.7m-6%200l3%201.5M252%20223.4l8%20-1.7m-6%200l1%201.5M266%20222.0l11%20-1.7m-6%200l2%201.5M280%20219.1l8%20-1.7m-6%200l3%201.5M294%20216.2l11%20-1.7m-6%200l1%201.5M308%20214.8l8%20-1.7m-6%200l2%201.5M322%20211.9l11%20-1.7m-6%200l3%201.5M336%20210.4l8%20-1.7m-6%200l1%201.5M350%20207.5l11%20-1.7m-6%200l2%201.5M364%20206.1l8%20-1.7m-6%200l3%201.5M378%20203.2l11%20-1.7m-6%200l1%201.5M392%20200.3l8%20-1.7m-6%200l2%201.5M406%20198.9l11%20-1.7m-6%200l3%201.5M420%20196.0l8%20-1.7m-6%200l1%201.5M434%20194.6l11%20-1.7m-6%200l2%201.5M448%20191.7l8%20-1.7m-6%200l3%201.5M462%20190.2l11%20-1.7m-6%200l1%201.5M476%20187.3l8%20-1.7m-6%200l2%201.5M490%20184.4l11%20-1.7m-6%200l3%201.5%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M7%20229.8l8%20-0.2m-6%200l1%201.7M21%20230.6l11%20-0.2m-6%200l2%201.7M35%20230.0l8%20-0.2m-6%200l3%201.7M49%20230.8l11%20-0.2m-6%200l1%201.7M63%20230.2l8%20-0.2m-6%200l2%201.7M77%20231.1l11%20-0.2m-6%200l3%201.7M91%20230.4l8%20-0.2m-6%200l1%201.7M105%20229.8l11%20-0.2m-6%200l2%201.7M119%20230.6l8%20-0.2m-6%200l3%201.7M133%20230.0l11%20-0.2m-6%200l1%201.7M147%20230.8l8%20-0.2m-6%200l2%201.7M161%20230.2l11%20-0.2m-6%200l3%201.7M175%20231.1l8%20-0.2m-6%200l1%201.7M189%20230.4l11%20-0.2m-6%200l2%201.7M203%20229.8l8%20-0.2m-6%200l3%201.7M217%20230.6l11%20-0.2m-6%200l1%201.7M231%20228.2l8%20-1.7m-6%200l2%201.7M245%20226.8l11%20-1.7m-6%200l3%201.7M259%20223.9l8%20-1.7m-6%200l1%201.7M273%20222.5l11%20-1.7m-6%200l2%201.7M287%20219.6l8%20-1.7m-6%200l3%201.7M301%20216.7l11%20-1.7m-6%200l1%201.7M315%20215.2l8%20-1.7m-6%200l2%201.7M329%20212.3l11%20-1.7m-6%200l3%201.7M343%20210.9l8%20-1.7m-6%200l1%201.7M357%20208.0l11%20-1.7m-6%200l2%201.7M371%20206.6l8%20-1.7m-6%200l3%201.7M385%20203.7l11%20-1.7m-6%200l1%201.7M399%20200.8l8%20-1.7m-6%200l2%201.7M413%20199.4l11%20-1.7m-6%200l3%201.7M427%20196.5l8%20-1.7m-6%200l1%201.7M441%20195.0l11%20-1.7m-6%200l2%201.7M455%20192.1l8%20-1.7m-6%200l3%201.7M469%20190.7l11%20-1.7m-6%200l1%201.7M483%20187.8l8%20-1.7m-6%200l2%201.7M497%20184.9l11%20-1.7m-6%200l3%201.7%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M0%20231.6l8%20-0.2m-6%200l1%201.9M14%20232.4l11%20-0.2m-6%200l2%201.9M28%20231.8l8%20-0.2m-6%200l3%201.9M42%20232.6l11%20-0.2m-6%200l1%201.9M56%20232.0l8%20-0.2m-6%200l2%201.9M70%20232.8l11%20-0.2m-6%200l3%201.9M84%20232.2l8%20-0.2m-6%200l1%201.9M98%20231.6l11%20-0.2m-6%200l2%201.9M112%20232.4l8%20-0.2m-6%200l3%201.9M126%20231.8l11%20-0.2m-6%200l1%201.9M140%20232.6l8%20-0.2m-6%200l2%201.9M154%20232.0l11%20-0.2m-6%200l3%201.9M168%20232.8l8%20-0.2m-6%200l1%201.9M182%20232.2l11%20-0.2m-6%200l2%201.9M196%20231.6l8%20-0.2m-6%200l3%201.9M210%20232.4l11%20-0.2m-6%200l1%201.9M224%20231.1l8%20-1.7m-6%200l2%201.9M238%20229.7l11%20-1.7m-6%200l3%201.9M252%20226.8l8%20-1.7m-6%200l1%201.9M266%20225.4l11%20-1.7m-6%200l2%201.9M280%20222.5l8%20-1.7m-6%200l3%201.9M294%20219.6l11%20-1.7m-6%200l1%201.9M308%20218.2l8%20-1.7m-6%200l2%201.9M322%20215.3l11%20-1.7m-6%200l3%201.9M336%20213.8l8%20-1.7m-6%200l1%201.9M350%20210.9l11%20-1.7m-6%200l2%201.9M364%20209.5l8%20-1.7m-6%200l3%201.9M378%20206.6l11%20-1.7m-6%200l1%201.9M392%20203.7l8%20-1.7m-6%200l2%201.9M406%20202.3l11%20-1.7m-6%200l3%201.9M420%20199.4l8%20-1.7m-6%200l1%201.9M434%20198.0l11%20-1.7m-6%200l2%201.9M448%20195.1l8%20-1.7m-6%200l3%201.9M462%20193.6l11%20-1.7m-6%200l1%201.9M476%20190.7l8%20-1.7m-6%200l2%201.9M490%20187.8l11%20-1.7m-6%200l3%201.9%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M7%20233.5l8%20-0.2m-6%200l1%202.0M21%20234.3l11%20-0.2m-6%200l2%202.0M35%20233.7l8%20-0.2m-6%200l3%202.0M49%20234.5l11%20-0.2m-6%200l1%202.0M63%20233.9l8%20-0.2m-6%200l2%202.0M77%20234.8l11%20-0.2m-6%200l3%202.0M91%20234.1l8%20-0.2m-6%200l1%202.0M105%20233.5l11%20-0.2m-6%200l2%202.0M119%20234.3l8%20-0.2m-6%200l3%202.0M133%20233.7l11%20-0.2m-6%200l1%202.0M147%20234.5l8%20-0.2m-6%200l2%202.0M161%20233.9l11%20-0.2m-6%200l3%202.0M175%20234.8l8%20-0.2m-6%200l1%202.0M189%20234.1l11%20-0.2m-6%200l2%202.0M203%20233.5l8%20-0.2m-6%200l3%202.0M217%20234.3l11%20-0.2m-6%200l1%202.0M231%20231.9l8%20-1.7m-6%200l2%202.0M245%20230.5l11%20-1.7m-6%200l3%202.0M259%20227.6l8%20-1.7m-6%200l1%202.0M273%20226.2l11%20-1.7m-6%200l2%202.0M287%20223.3l8%20-1.7m-6%200l3%202.0M301%20220.4l11%20-1.7m-6%200l1%202.0M315%20218.9l8%20-1.7m-6%200l2%202.0M329%20216.0l11%20-1.7m-6%200l3%202.0M343%20214.6l8%20-1.7m-6%200l1%202.0M357%20211.7l11%20-1.7m-6%200l2%202.0M371%20210.3l8%20-1.7m-6%200l3%202.0M385%20207.4l11%20-1.7m-6%200l1%202.0M399%20204.5l8%20-1.7m-6%200l2%202.0M413%20203.1l11%20-1.7m-6%200l3%202.0M427%20200.2l8%20-1.7m-6%200l1%202.0M441%20198.7l11%20-1.7m-6%200l2%202.0M455%20195.8l8%20-1.7m-6%200l3%202.0M469%20194.4l11%20-1.7m-6%200l1%202.0M483%20191.5l8%20-1.7m-6%200l2%202.0M497%20188.6l11%20-1.7m-6%200l3%202.0%22%2F%3E%3Cpath%20opacity%3D%220.52%22%20d%3D%22M0%20235.6l8%20-0.2m-6%200l1%202.2M14%20236.4l11%20-0.2m-6%200l2%202.2M28%20235.8l8%20-0.2m-6%200l3%202.2M42%20236.6l11%20-0.2m-6%200l1%202.2M56%20236.0l8%20-0.2m-6%200l2%202.2M70%20236.8l11%20-0.2m-6%200l3%202.2M84%20236.2l8%20-0.2m-6%200l1%202.2M98%20235.6l11%20-0.2m-6%200l2%202.2M112%20236.4l8%20-0.2m-6%200l3%202.2M126%20235.8l11%20-0.2m-6%200l1%202.2M140%20236.6l8%20-0.2m-6%200l2%202.2M154%20236.0l11%20-0.2m-6%200l3%202.2M168%20236.8l8%20-0.2m-6%200l1%202.2M182%20236.2l11%20-0.2m-6%200l2%202.2M196%20235.6l8%20-0.2m-6%200l3%202.2M210%20236.4l11%20-0.2m-6%200l1%202.2M224%20235.1l8%20-1.7m-6%200l2%202.2M238%20233.7l11%20-1.7m-6%200l3%202.2M252%20230.8l8%20-1.7m-6%200l1%202.2M266%20229.4l11%20-1.7m-6%200l2%202.2M280%20226.5l8%20-1.7m-6%200l3%202.2M294%20223.6l11%20-1.7m-6%200l1%202.2M308%20222.2l8%20-1.7m-6%200l2%202.2M322%20219.3l11%20-1.7m-6%200l3%202.2M336%20217.8l8%20-1.7m-6%200l1%202.2M350%20214.9l11%20-1.7m-6%200l2%202.2M364%20213.5l8%20-1.7m-6%200l3%202.2M378%20210.6l11%20-1.7m-6%200l1%202.2M392%20207.7l8%20-1.7m-6%200l2%202.2M406%20206.3l11%20-1.7m-6%200l3%202.2M420%20203.4l8%20-1.7m-6%200l1%202.2M434%20202.0l11%20-1.7m-6%200l2%202.2M448%20199.1l8%20-1.7m-6%200l3%202.2M462%20197.6l11%20-1.7m-6%200l1%202.2M476%20194.7l8%20-1.7m-6%200l2%202.2M490%20191.8l11%20-1.7m-6%200l3%202.2%22%2F%3E%3Cpath%20opacity%3D%220.25%22%20d%3D%22M7%20237.8l8%20-0.2m-6%200l1%202.4M21%20238.6l11%20-0.2m-6%200l2%202.4M35%20238.0l8%20-0.2m-6%200l3%202.4M49%20238.8l11%20-0.2m-6%200l1%202.4M63%20238.2l8%20-0.2m-6%200l2%202.4M77%20239.1l11%20-0.2m-6%200l3%202.4M91%20238.4l8%20-0.2m-6%200l1%202.4M105%20237.8l11%20-0.2m-6%200l2%202.4M119%20238.6l8%20-0.2m-6%200l3%202.4M133%20238.0l11%20-0.2m-6%200l1%202.4M147%20238.8l8%20-0.2m-6%200l2%202.4M161%20238.2l11%20-0.2m-6%200l3%202.4M175%20239.1l8%20-0.2m-6%200l1%202.4M189%20238.4l11%20-0.2m-6%200l2%202.4M203%20237.8l8%20-0.2m-6%200l3%202.4M217%20238.6l11%20-0.2m-6%200l1%202.4M231%20236.2l8%20-1.7m-6%200l2%202.4M245%20234.8l11%20-1.7m-6%200l3%202.4M259%20231.9l8%20-1.7m-6%200l1%202.4M273%20230.5l11%20-1.7m-6%200l2%202.4M287%20227.6l8%20-1.7m-6%200l3%202.4M301%20224.7l11%20-1.7m-6%200l1%202.4M315%20223.2l8%20-1.7m-6%200l2%202.4M329%20220.3l11%20-1.7m-6%200l3%202.4M343%20218.9l8%20-1.7m-6%200l1%202.4M357%20216.0l11%20-1.7m-6%200l2%202.4M371%20214.6l8%20-1.7m-6%200l3%202.4M385%20211.7l11%20-1.7m-6%200l1%202.4M399%20208.8l8%20-1.7m-6%200l2%202.4M413%20207.4l11%20-1.7m-6%200l3%202.4M427%20204.5l8%20-1.7m-6%200l1%202.4M441%20203.0l11%20-1.7m-6%200l2%202.4M455%20200.1l8%20-1.7m-6%200l3%202.4M469%20198.7l11%20-1.7m-6%200l1%202.4M483%20195.8l8%20-1.7m-6%200l2%202.4M497%20192.9l11%20-1.7m-6%200l3%202.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }

.ceramics-intro { padding-bottom: clamp(1.5rem,4vw,3rem) !important; }
.ceramics-art { width: 100%; height: auto; }

.landmark-art { display: block; width: 100%; height: auto; }
.page-products .page-art-wrap { opacity: .57; }
.page-regulations .page-art-wrap { max-width: 17rem; }

.distillery-art { position: relative; margin-block: 0; container-type: inline-size; }
.distillery-sign { position: absolute; top: 34%; left: 37%; display: flex; align-items: center; gap: 1cqi; margin: 0; padding: .45cqi 1.3cqi; background: #402719; border: 1px solid #b98850; color: #fff0d1; font: 700 clamp(.48rem,3.1cqi,1rem)/1.4 system-ui,sans-serif; white-space: nowrap; }
.distillery-sign .brand-mark { width: 6cqi; flex: none; background: currentColor; }
@media(max-width:680px){ .page-craft .distillery-art { width: min(100%,25rem); } }

header nav a { font-weight: 650; }
header nav [aria-current=page] { font-weight: 750; }

.page-content {
  --art-ground-tint: color-mix(in srgb, var(--accent) 19%, transparent);
}
:root[data-theme=dark] .page-content {
  --art-ground-tint: color-mix(in srgb, var(--accent) 15%, transparent);
}
.page-content :is(.art-ground, .page-art-wrap, .product-bottle) {
  position: relative;
  isolation: isolate;
}
.page-content :is(.art-ground, .page-art-wrap, .product-bottle)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 58% -4% -5%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 61%, var(--art-ground-tint), transparent 70%);
}
.page-content :is(.landmark-art, .temple .art-ground img, .art-ground .city-art, .ceramics-art) {
  display: block;
  margin-inline: auto;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
              linear-gradient(to bottom, transparent, #000 4%, #000 83%, transparent);
  mask-composite: intersect;
}
.page-content :is(.temple .art-ground, .art-ground:has(.city-art), .page-ceramics .art-ground) {
  width: 100%;
  min-width: 0;
}
.page-content .product-bottle::before { inset: 66% -15% 0; }

/* The new scenes include their own ground and perspective. */
.page-content :is(.art-ground, .page-art-wrap)::before { content: none; }
.page-content :is(.landmark-art, .temple .art-ground img, .ceramics-art) { mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(#000 95%,transparent); }
.page-products .page-art-wrap { opacity: 1; }

.editorial-copy { max-width: 65ch; }
.read-more { display: inline-block; color: var(--accent); font-weight: 650; margin-block: .15em .85em; }
.page-regulations li > .editorial-copy { margin-block: .25em; }

/* Keep the moon inside the temple illustration's sky in dark mode. */
:root[data-theme=dark] .page-lampang .temple .art-ground::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 73%;
  width: 8.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cfilter%20id%3D%22t%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.095%22%20numOctaves%3D%224%22%20seed%3D%2212%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%22.18%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%22%20height%3D%22100%22%20filter%3D%22url(%23t)%22%2F%3E%3Cg%20fill%3D%22%23674f36%22%20fill-opacity%3D%22.13%22%20stroke%3D%22%23fff1ca%22%20stroke-opacity%3D%22.36%22%3E%3Cellipse%20cx%3D%2230%22%20cy%3D%2235%22%20rx%3D%229%22%20ry%3D%227.47%22%20transform%3D%22rotate(13%2030%2035)%22%2F%3E%3Cellipse%20cx%3D%2260%22%20cy%3D%2255%22%20rx%3D%2211%22%20ry%3D%229.129999999999999%22%20transform%3D%22rotate(8%2060%2055)%22%2F%3E%3Cellipse%20cx%3D%2273%22%20cy%3D%2229%22%20rx%3D%225%22%20ry%3D%224.1499999999999995%22%20transform%3D%22rotate(-14%2073%2029)%22%2F%3E%3Cellipse%20cx%3D%2241%22%20cy%3D%2272%22%20rx%3D%226%22%20ry%3D%224.9799999999999995%22%20transform%3D%22rotate(-11%2041%2072)%22%2F%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2258%22%20rx%3D%224%22%20ry%3D%223.32%22%20transform%3D%22rotate(7%2024%2058)%22%2F%3E%3Cellipse%20cx%3D%2254%22%20cy%3D%2224%22%20rx%3D%224%22%20ry%3D%223.32%22%20transform%3D%22rotate(2%2054%2024)%22%2F%3E%3Cellipse%20cx%3D%2275%22%20cy%3D%2269%22%20rx%3D%224%22%20ry%3D%223.32%22%20transform%3D%22rotate(-12%2075%2069)%22%2F%3E%3Cellipse%20cx%3D%2248%22%20cy%3D%2245%22%20rx%3D%223%22%20ry%3D%222.4899999999999998%22%20transform%3D%22rotate(-4%2048%2045)%22%2F%3E%3Cellipse%20cx%3D%2253%22%20cy%3D%2283%22%20rx%3D%223%22%20ry%3D%222.4899999999999998%22%20transform%3D%22rotate(1%2053%2083)%22%2F%3E%3Cellipse%20cx%3D%2221%22%20cy%3D%2247%22%20rx%3D%222%22%20ry%3D%221.66%22%20transform%3D%22rotate(4%2021%2047)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / cover no-repeat,
    radial-gradient(ellipse at 34% 42%, #98704328, transparent 23%),
    radial-gradient(ellipse at 65% 60%, #9b714a30, transparent 29%),
    radial-gradient(ellipse at 57% 22%, #b88c572b, transparent 20%),
    radial-gradient(circle at 40% 36%, #fff5d9 8%, #f1d59b 70%, #d2a863 100%);
  mask-image: radial-gradient(circle closest-side, #000 88%, #000e 91.5%, #0009 95.5%, transparent 100%);
  filter: drop-shadow(0 0 .11rem #f1d59b55);
}

/* Share the temple's 3:2 illustration size across the secondary pages. */
.page-content {
  --feature-gap: clamp(1rem, 3vw, 3rem);
  --feature-width: calc((100% - var(--feature-gap)) * .675);
}
.page-content .page-art-wrap {
  width: min(var(--feature-width), 45rem);
  max-width: none;
  margin-inline-start: var(--feature-gap);
  margin-block: 0 1rem;
}
.page-lampang .temple, .page-ceramics .ceramics-intro {
  gap: var(--feature-gap);
}
.page-ceramics .ceramics-intro {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
}
.page-content :is(.temple .art-ground, .ceramics-intro .art-ground) {
  width: min(100%, 45rem);
}
.page-content :is(.page-art-wrap .landmark-art, .temple .art-ground img, .ceramics-intro .ceramics-art) {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
}
@media (max-width: 800px) {
  .page-content .page-art-wrap {
    float: none;
    width: min(100%, 45rem);
    margin-inline: auto;
  }
  .page-lampang .temple, .page-ceramics .ceramics-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-content :is(.temple .art-ground, .ceramics-intro .art-ground) {
    margin-inline: auto;
  }
}

/* Give secondary-page titles a full row before the artwork and copy. */
.page-content h1 {
  grid-column: 1 / -1;
  width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  text-align: start;
}
.page-content .heading-phrase { white-space: nowrap; }

.contact-panorama img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(#000 86%, transparent);
}
.contact-copy { padding-block: clamp(1.25rem, 3vw, 3rem); }
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1rem, 4vw, 4rem);
}
.contact-details > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: .7rem;
}
.contact-details > div > :not(svg) { grid-column: 2; }
.contact-details .address-phrase { white-space: nowrap; }
@media (max-width: 800px) {
  .contact-details { grid-template-columns: minmax(0, 1fr); }
}
.contact-details svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-details h2 { font-size: 1.2em; margin: .35em 0; }
.contact-details a { display: block; word-break: normal; overflow-wrap: normal; }
.contact-details address { font-style: normal; }

:root:not([data-theme="dark"]) .contact-panorama img { content: url("/omi-panorama-day.png"); }
