/* Heritage treatment: original fretwork, warm paper, readable type. */
:root { --paper: #eee1c5; --cream: #f4ead4; --ink: #30271d; --clay: #823b2c; --line: #bda780; }
body { font-size: 20px; line-height: 1.7; background: var(--paper); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.07; }
h1 { font-size: clamp(68px, 8vw, 120px); }
h2 { font-size: clamp(44px, 5.8vw, 82px); }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; }
a:focus-visible, button:focus-visible { outline: 4px solid #176e8c; outline-offset: 6px; }
button { font: inherit; }
.section { padding: 80px max(24px, 7vw); }
.story, .village, .gallery, .press { background-color: var(--paper); background-image: radial-gradient(ellipse at top left, #fff6df80, transparent 65%); }
.section::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 32px; background: url('assets/heritage-border.svg') repeat-x center; pointer-events: none; opacity: .8; }
.site-header { background: #251e17b8; height: auto; min-height: 100px; gap: 24px; padding-block: 16px; border-bottom: 4px double #b58a50; }
.brand { font-size: 16px; letter-spacing: .08em; }
.brand-mark { border-radius: 3px; border: 3px double currentColor; width: 48px; height: 48px; font-size: 21px; }
nav { margin: 0; gap: 22px; flex-wrap: wrap; }
nav a, .header-cta { font-size: 17px; letter-spacing: .025em; text-transform: none; opacity: 1; min-height: 48px; display: inline-flex; align-items: center; }
.hero { min-height: 820px; height: auto; padding: 180px 0 130px; }
.hero-copy { margin: 35px 7vw 0; width: min(740px, 75vw); }
.hero-intro { font-size: 22px; font-weight: 400; line-height: 1.65; color: #fff3df; width: min(600px, 100%); margin-top: 28px; }
.hero-foot { font-size: 16px; letter-spacing: .03em; color: #fff0d9; }
.eyebrow { font-size: 16px; letter-spacing: .09em; margin-bottom: 20px; }
.section-number { font-size: 16px; top: 28px; }
.story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; margin-top: 48px; }
.story-art { height: 510px; background: #dfc99e; border: 6px double #98764d; box-shadow: inset 0 0 80px #71533125; }
.story-art::before, .story-art::after { display: none; }
.sun-disc { background: repeating-conic-gradient(#ac683c 0deg 3deg, #c38a54 3deg 15deg); border: 12px double #93643d; opacity: .45; width: min(80%, 370px); height: auto; aspect-ratio: 1; }
.story-pot-photo { position: relative; z-index: 1; display: block; width: min(88%, 520px); max-height: 82%; object-fit: contain; filter: drop-shadow(0 24px 18px #4b2d1f55); }
.story-text p, .craft-intro > p, .process-step p, .gallery-heading > p, .press-heading > p, .press-content p, .preserve-copy > p:last-child { font-size: 20px; line-height: 1.7; color: #494032; }
.story-text .dropcap { font-family: Georgia, serif; font-size: 28px; }
blockquote { margin-top: 32px; }
.story-text .caption, .quote-panel span, .facts span, .press-meta, .gallery-note { font-size: 16px; letter-spacing: .025em; text-transform: none; line-height: 1.6; }
.craft { padding-bottom: 55px; background: #303426; }
.craft-intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-bottom: 40px; }
.craft-intro > p, .process-step p { color: #f0e6d0; }
.process { min-height: 0; }
.process-visual { height: 75vh; }
.process-photos { position: relative; z-index: 1; width: min(92%, 590px); height: min(72vh, 620px); display: grid; place-items: center; }
.process-photo { position: absolute; width: 100%; height: 100%; object-fit: contain; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96); filter: drop-shadow(0 28px 24px #100b0780); transition: opacity .35s ease, transform .4s cubic-bezier(.2,.7,.2,1), visibility .35s; }
.process-photo-one { max-width: 520px; max-height: 520px; }
.process-photo-two { max-width: 590px; max-height: 470px; }
.process-photo-three { max-width: 560px; max-height: 500px; }
.process-photo-four { max-width: 610px; max-height: 520px; }
.process[data-active="0"] .process-photo-one,
.process[data-active="1"] .process-photo-two,
.process[data-active="2"] .process-photo-three,
.process[data-active="3"] .process-photo-four { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.process[data-active="0"] .kiln-halo,
.process[data-active="1"] .kiln-halo,
.process[data-active="2"] .kiln-halo { opacity: .18; transform: scale(.85); }
.process[data-active="3"] .process-photo-four { filter: drop-shadow(0 26px 28px #120705a6) saturate(1.05); }
.process[data-active] .process-pot { transform: none; filter: none; width: min(88%, 470px); }
.craft-scene { opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .65s ease, transform .65s ease, visibility .65s; }
.process[data-active="0"] .gather-scene,
.process[data-active="1"] .knead-scene,
.process[data-active="2"] .pot-scene,
.process[data-active="3"] .pot-scene { opacity: 1; visibility: visible; transform: translateY(0); }
.process-pot .vessel, .process-pot .rim { stroke: #c29667; stroke-width: 1; }
.process-pot .rim { fill: #c49664; }
.process-pot .mouth { fill: url(#pot-interior); stroke: #e6bd89; stroke-width: 1.5; }
.process-pot .mark { stroke: #68472d; stroke-width: .85; stroke-dasharray: none; opacity: .32; }
.process-pot .wheel { fill: #63553e; stroke: #ae9b76; }
.process-pot .wheel-grain { stroke: #998463; stroke-width: 1.5; }
.process-pot .knead-clay { fill: url(#wet-clay); stroke: #bd9370; stroke-width: 1; animation: none; }
.process-pot .knead-fold { stroke: #513727; stroke-width: 2.5; }
.process[data-active="0"] .vessel { opacity: 1; }
.shaping-tool, .firing-flames, .kiln-smoke { display: none; }
.process[data-active="3"] .kiln-smoke { display: block; animation: kilnSmoke 5s ease-in-out infinite; }
.process-pot .firing-flames > path { fill: url(#flame-color); stroke: none; }
.process[data-active="2"] .shaping-tool { display: block; }
.process[data-active="3"] .firing-flames { display: block; animation: flameBreathe 1.8s ease-in-out infinite alternate; transform-origin: 180px 310px; }
.process[data-active="3"] .wheel { visibility: hidden; }
.process[data-active="3"] .vessel { filter: brightness(.8); }
.process[data-active="1"] .kneading-hands { animation: kneadPress 2.6s ease-in-out infinite; }
.process[data-active="1"] .kneaded-mass { animation: clayPress 2.6s ease-in-out infinite; transform-origin: 180px 280px; }
@keyframes kilnSmoke { 0%, 100% { transform: translateY(3px); opacity: .12; } 50% { transform: translate(-3px, -7px); opacity: .3; } }
@keyframes kneadPress { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(12px); } }
@keyframes clayPress { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05, .91); } }
@keyframes flameBreathe { from { transform: scaleY(.93); opacity: .85; } to { transform: scaleY(1.04); opacity: 1; } }
.process-steps { padding: 22vh 0 18vh; }
.process-step { min-height: 58vh; opacity: .48; transform: none; gap: 16px; transition: opacity .3s ease; }
.process-step.active { opacity: 1; }
.process-step h3 { font-size: 52px; margin-bottom: 15px; }
.process-step.active h3 { color: #efb489; }
.stage-controls { position: absolute; z-index: 4; left: 0; bottom: 38px; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-controls button { min-height: 48px; padding: 9px 14px; border: 1px solid #b6a078; background: #252a20d9; color: #f3ead8; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.stage-controls button span { margin-right: 5px; color: #d8936b; font: italic 16px Georgia, serif; }
.stage-controls button:hover { background: #454b3a; }
.stage-controls button[aria-pressed="true"] { background: #a85739; border-color: #e1ae80; color: white; }
.stage-controls button[aria-pressed="true"] span { color: white; }
.village-top { gap: 32px; flex-wrap: wrap; }
.quote-panel { margin-top: 45px; padding: 64px 6vw; border: 7px double #dbad70; }
.quote-panel span { opacity: 1; }
.facts { margin-top: 45px; }
.facts div { padding: 25px 20px; }
.facts span { max-width: 210px; color: #494032; }
.gallery-heading { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: 24px; }
.gallery-help { font-size: 20px; color: #583c28; margin-bottom: 32px; }
.photo-collection { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 30px; padding: 25px 8px 40px; align-items: start; }
.photo-collection .gallery-slide { grid-column: span 2; height: auto; display: block; padding: 12px; background: #fbf0d8; border: 1px solid #bca67f; box-shadow: 2px 10px 18px #4a311f25; overflow: visible; transform: rotate(var(--tilt)); transition: transform .25s, box-shadow .25s; }
.gallery-slide:nth-child(1) { --tilt: -4deg; }
.gallery-slide:nth-child(2) { --tilt: 3deg; margin-top: 38px; }
.gallery-slide:nth-child(3) { --tilt: -2deg; }
.gallery-slide:nth-child(4) { --tilt: 3deg; grid-column: 2 / span 2; }
.gallery-slide:nth-child(5) { --tilt: -3deg; grid-column: 4 / span 2; margin-top: 26px; }
.photo-collection .gallery-slide:hover, .photo-collection .gallery-slide:focus-within { transform: rotate(0) translateY(-6px); box-shadow: 3px 16px 25px #4a311f35; z-index: 2; }
.photo-open { display: block; width: 100%; border: 0; padding: 0; color: white; background: #866149; cursor: zoom-in; overflow: hidden; }
.photo-open .gallery-photo { display: block; width: 100%; height: 270px; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.photo-open:hover .gallery-photo { transform: scale(1.035); filter: saturate(1.06); }
.placeholder-one .gallery-photo { object-position: 58% center; }
.placeholder-two .gallery-photo { object-position: center; }
.placeholder-three .gallery-photo { object-position: center; }
.placeholder-four .gallery-photo { object-position: 45% center; }
.placeholder-five .gallery-photo { object-position: center; }
.placeholder-two .photo-open { background: #53604b; }
.placeholder-three .photo-open { background: #a27b4a; }
.placeholder-four .photo-open { background: #6a3929; }
.placeholder-five .photo-open { background: #8a5339; }
.photo-open .placeholder-art { width: 100%; height: 270px; opacity: .9; }
.photo-open .placeholder-art > span { scale: .65; }
.photo-collection .gallery-slide figcaption { position: static; width: auto; height: auto; clip: auto; margin: 14px 4px 5px; overflow: visible; color: #423426; font: 18px/1.5 Georgia, serif; }
.gallery-note { text-align: left; color: #51412f; }
.photo-is-open { overflow: hidden; }
.photo-dialog { width: min(940px, calc(100% - 32px)); max-height: 92dvh; padding: 22px; border: 6px double #ae8956; background: #f4e7cc; color: #30271d; box-shadow: 0 24px 90px #0008; }
.photo-dialog::backdrop { background: #21170eed; }
.photo-dialog[open] { animation: photoAppear .25s ease-out; }
.photo-close { display: block; margin: 0 0 18px auto; min-height: 48px; padding: 8px 18px; border: 2px solid #633b29; background: #633b29; color: white; cursor: pointer; font-size: 18px; }
.photo-enlarged { height: min(54vh, 550px); display: grid; place-items: center; overflow: hidden; }
.photo-enlarged .placeholder-art { width: 80%; height: 100%; }
.photo-enlarged img { width: 100%; height: 100%; object-fit: contain; }
.photo-dialog h2 { font-size: clamp(24px, 3vw, 36px); margin: 22px 0 8px; }
.photo-dialog p { font-size: 16px; margin: 0; }
@keyframes photoAppear { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.press-heading { gap: 24px 5vw; margin-bottom: 40px; }
.press .light { color: #823b2c; }
.press-meta { color: #574735; flex-wrap: wrap; }
.press-card { padding-block: 30px; }
.press-content h3 { font-family: Georgia, serif; font-size: clamp(27px, 3vw, 40px); line-height: 1.25; }
.preserve { min-height: 650px; }
.preserve h2 { font-size: clamp(46px, 6vw, 86px); }
.preserve-copy > p:last-child { color: #fff1da; max-width: 680px; margin-top: 28px; }
.preserve-ring { animation: none; border: 8px double #c2945960; }
.preserve-ring span { font-size: 16px; }
.final-mark { font-size: 38px; font-style: italic; }
footer { font-size: 16px; line-height: 1.6; letter-spacing: .02em; text-transform: none; color: #f1e4ca; gap: 24px; }
.reveal { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; }
  nav { order: 3; width: 100%; justify-content: center; display: flex; }
  .craft-intro, .gallery-heading, .press-heading { grid-template-columns: 1fr; }
  .photo-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .photo-collection .gallery-slide { grid-column: auto; }
}
@media (max-width: 800px) {
  .section { padding: 60px 24px; }
  .site-header { position: relative; background: #30271d; gap: 8px 16px; padding: 15px 20px; }
  .header-cta { font-size: 16px; }
  nav { gap: 20px; }
  nav a { font-size: 17px; }
  .hero { padding: 60px 0 100px; min-height: 640px; }
  .hero-copy { margin: 0 24px; width: auto; }
  h1 { font-size: clamp(55px, 12vw, 84px); }
  .hero-intro { font-size: 20px; width: 100%; }
  h2 { font-size: clamp(40px, 9vw, 62px); }
  .story-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 35px; }
  .story-art { height: 430px; }
  .story-text p, .craft-intro > p, .process-step p, .gallery-heading > p, .press-heading > p, .press-content p, .preserve-copy > p:last-child { font-size: 18px; }
  .process-visual { position: sticky; top: 0; height: 34svh; min-height: 200px; max-height: 300px; background: #303426; z-index: 3; border-bottom: 1px solid #9d997b; }
  .process[data-active] .process-pot { height: 100%; width: auto; max-width: 100%; }
  .process-photos { width: 100%; height: 100%; }
  .process-photo { max-width: 92%; max-height: 94%; }
  .stage-controls { left: 8px; right: 8px; bottom: 6px; justify-content: center; gap: 5px; }
  .stage-controls button { min-height: 44px; padding: 7px 9px; font-size: 14px; }
  .stage-controls button span { display: none; }
  .process-steps { padding: 10vh 0 8vh; }
  .process-step { min-height: 52vh; padding: 34px 0; border-top: 1px solid #9d997b; }
  .process-step h3 { font-size: 42px; }
  .quote-panel { margin-top: 32px; padding: 55px 20px; }
  .facts div { padding: 20px 12px; min-height: 180px; }
  .facts strong { font-size: 48px; }
  .press-heading .eyebrow { grid-column: auto; }
  .press-card { gap: 12px; }
  .preserve { min-height: 0; padding-block: 85px; }
  footer { gap: 16px; }
}
@media (max-width: 540px) {
  .photo-collection { grid-template-columns: 1fr; padding-inline: 10px; gap: 32px; }
  .photo-collection .gallery-slide { margin-top: 0; }
  .photo-open .gallery-photo { height: 270px; }
  .photo-dialog { padding: 14px; }
  .photo-close { width: 100%; }
  .press-card { grid-template-columns: 1fr; }
  .section-number { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  h1 span, h1 em, .hero-kicker, .hero-intro { opacity: 1; transform: none; }
}
