/*
Theme Name: Atelier Samaneh
Author: Atelier Samaneh
Description: A minimal block theme for Atelier Samaneh.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: atelier-samaneh
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
	font-family: 'Cormorant Garamond';
	src: url('assets/fonts/cormorant-garamond-latin-variable.woff2') format('woff2');
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
}

:root {
	--as-ink: #272829;
	--as-teal: #087f85;
	--as-paper: #fbf8f4;
	--as-line: #e9e4de;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--as-paper); color: var(--as-ink); }
.as-site-shell { font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.as-site-shell *, .as-site-shell *::before, .as-site-shell *::after { box-sizing: border-box; }
.as-site-shell a { color: inherit; }
.as-site-shell a:focus-visible { outline: 2px solid var(--as-teal); outline-offset: 4px; }
.as-site-shell h1, .as-site-shell h2, .as-site-shell h3, .as-wordmark { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; }
.as-site-shell h1, .as-site-shell h2, .as-site-shell h3, .as-site-shell p { margin-top: 0; }
.as-container { width: min(100% - 7rem, 1120px); margin-inline: auto; }
.as-skip-link { position: absolute; z-index: 5; top: -100px; left: 1rem; padding: .65rem 1rem; background: #fff; }
.as-skip-link:focus { top: 1rem; }

.as-header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .75rem max(3.8%, calc((100vw - 1300px) / 2)); background: #fffdfa; }
.as-header-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .6rem; text-decoration: none; }
.as-header-signature { display: block; width: 96px; height: auto; }
.as-wordmark { font-size: clamp(2rem, 2.8vw, 2.45rem); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.as-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(1.25rem, 4vw, 3.5rem); }
.as-nav a { font-size: .86rem; letter-spacing: .015em; text-decoration: none; }
.as-nav a:hover, .as-text-link:hover { color: var(--as-teal); }

.as-hero { position: relative; background: #f4f4f0; }
.as-hero-media { position: relative; width: 100%; max-width: 1600px; aspect-ratio: 3543 / 2390; margin-inline: auto; }
.as-hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(251, 248, 244, .8) 0%, rgba(251, 248, 244, .48) 27%, transparent 57%); }
.as-hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.as-hero-slide.is-active { opacity: 1; }
.as-hero-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.as-hero-copy { position: absolute; z-index: 1; top: 13%; left: max(6.9%, calc((100vw - 1280px) / 2)); max-width: 410px; }
.as-hero h1 { font-size: clamp(5.4rem, 8vw, 8.1rem); line-height: .75; letter-spacing: -.055em; margin-bottom: 2.1rem; }
.as-hero-controls { display: flex; align-items: center; justify-content: center; gap: .25rem; width: 192px; margin-top: 1rem; }
.as-hero-controls[hidden] { display: none; }
.as-hero-control { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.as-hero-control::after { content: ''; display: block; width: 11px; height: 11px; border: 1px solid var(--as-teal); border-radius: 50%; background: rgba(251, 248, 244, .75); transition: background .2s, transform .2s; }
.as-hero-control.is-active::after { background: var(--as-teal); transform: scale(1.12); }
.as-hero-control:hover::after { transform: scale(1.2); }
.as-hero-control:focus-visible { outline: 2px solid var(--as-teal); outline-offset: 2px; }
.as-rule { display: block; width: 56px; height: 1px; background: var(--as-teal); margin-bottom: 1.6rem; }
.as-hero-copy p { max-width: 330px; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.55; margin-bottom: 1.75rem; }
.as-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.as-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: .9rem 1.7rem; border: 1px solid var(--as-teal); border-radius: 2px; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s; }
.as-button-primary { background: var(--as-teal); color: #fff !important; }
.as-button-primary:hover { background: #06656a; }
.as-button-outline { color: var(--as-teal) !important; background: #fff9; }
.as-button-outline:hover { background: #fff; }

.as-collections.as-container { width: min(100%, 1600px); }
.as-collections { position: relative; z-index: 1; margin-top: 0; padding: clamp(2rem, 3vw, 3.25rem) 0 0; background: transparent; }
.as-eyebrow { color: var(--as-teal); font-size: .69rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; margin-bottom: .5rem; }
.as-section-intro { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.as-section-intro h2 { font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 0; }
.as-section-intro > p:not(.as-eyebrow) { color: #5b6968; font-size: .88rem; line-height: 1.5; margin: .5rem 0 0; }
.as-collection-stage { position: relative; isolation: isolate; min-height: 550px; overflow: hidden; padding-top: .25rem; }
.as-collection-backdrop { position: absolute; z-index: -1; right: 0; bottom: 0; width: min(42%, 620px); height: min(100%, 430px); pointer-events: none; opacity: .68; -webkit-mask-image: url('assets/images/collection-brush-mask.svg'); mask-image: url('assets/images/collection-brush-mask.svg'); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.as-collection-preview { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .75s ease; }
.as-collection-preview.is-active { opacity: 1; }
.as-collection-preview[data-as-preview-key="landscape"] { object-position: center 8%; }
.as-collection-preview[data-as-preview-key="animals"] { left: -10%; width: 115%; object-position: center 14%; }
.as-collection-preview[data-as-preview-key="portraits"] { object-position: center 35%; }
.as-collection-preview[data-as-preview-key="still-life"] { object-position: center 46%; }
.as-collection-stage-content { position: relative; z-index: 1; width: min(65%, 880px); padding: clamp(2.3rem, 4vw, 3.6rem) 0 3rem clamp(2rem, 5vw, 5rem); }
.as-collection-list { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin: 0; }
.as-collection-option { display: inline-flex; align-items: center; gap: .75rem; max-width: 100%; padding: .1rem 0; text-decoration: none; color: #4c5856 !important; transition: color .25s ease, transform .35s ease; }
.as-collection-option:hover, .as-collection-option:focus-visible, .as-collection-option.is-active { color: #124e53 !important; transform: translateX(.4rem); }
.as-collection-option:focus-visible { outline: 2px solid var(--as-teal); outline-offset: 4px; }
.as-collection-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(3rem, 4.5vw, 4.9rem); font-weight: 300; letter-spacing: -.055em; line-height: .92; }
.as-collection-option-arrow { display: inline-grid; place-items: center; flex: none; min-width: 44px; min-height: 44px; font-size: 1.35rem; opacity: 0; transform: translate(-5px, 5px); transition: opacity .25s ease, transform .25s ease; }
.as-collection-option:hover .as-collection-option-arrow, .as-collection-option:focus-visible .as-collection-option-arrow, .as-collection-option.is-active .as-collection-option-arrow { opacity: 1; transform: none; }

@media (min-width: 1101px) {
	.as-collection-backdrop { right: clamp(4rem, 8vw, 7.5rem); width: min(63%, 900px); height: 450px; }
	.as-collection-stage-content { padding-left: clamp(5rem, 8.5vw, 8.25rem); }
}

html.as-gallery-open { overflow: hidden; }
.as-gallery-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; color: var(--as-ink); background: #fbf9f5; border: 0; }
.as-gallery-dialog::backdrop { background: rgba(18, 26, 26, .72); }
.as-gallery-room { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.as-gallery-room-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 1rem; padding: .8rem clamp(1.25rem, 3vw, 3.5rem); }
.as-gallery-room-category { color: var(--as-teal); font-size: .67rem; font-weight: 700; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.as-gallery-text-button { width: fit-content; padding: .35rem 0; color: var(--as-ink); background: transparent; border: 0; font: inherit; font-size: .78rem; letter-spacing: .035em; text-decoration: none; cursor: pointer; }
.as-gallery-text-button:hover { color: var(--as-teal); }
.as-gallery-text-button:focus-visible, .as-gallery-arrow:focus-visible, .as-gallery-index-item:focus-visible { outline: 2px solid var(--as-teal); outline-offset: 3px; }
.as-gallery-room-exit { justify-self: end; }
.as-gallery-room-exit span { padding-left: .5rem; font-size: 1.45rem; line-height: .5; vertical-align: -.1em; }
.as-gallery-room-main { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: clamp(.8rem, 2.5vw, 2.5rem); min-height: 0; padding: 0 clamp(1rem, 2vw, 2rem); }
.as-gallery-image-well { display: flex; align-items: center; justify-content: center; min-height: 0; height: 100%; overflow: hidden; padding: clamp(.75rem, 2vw, 2rem); background: #f2efea; }
.as-gallery-image-well img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.as-gallery-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--as-ink); background: #fffdfaaa; border: 1px solid #d8d8d0; border-radius: 50%; font: inherit; font-size: 1.35rem; cursor: pointer; }
.as-gallery-arrow:hover { color: var(--as-teal); border-color: var(--as-teal); }
.as-gallery-arrow-next { justify-self: end; }
.as-gallery-room-footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; min-height: 132px; padding: 1.1rem clamp(1.5rem, 6vw, 7rem) 1.55rem; }
.as-gallery-room-footer .as-eyebrow { margin-bottom: .25rem; }
.as-gallery-room-footer h2 { font-size: clamp(2.4rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.045em; margin-bottom: 0; }
.as-gallery-details { margin: .45rem 0 0; color: #65716d; font-size: .8rem; letter-spacing: .025em; }
.as-gallery-room-tools { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); white-space: nowrap; }
.as-gallery-room-tools > span { color: #65716d; font-size: .73rem; letter-spacing: .11em; }
.as-gallery-index { position: absolute; z-index: 3; inset: 74px 0 0; overflow: auto; padding: 2rem clamp(1.5rem, 6vw, 7rem) 4rem; background: #fbf9f5; }
.as-gallery-index[hidden] { display: none; }
.as-gallery-index-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.as-gallery-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.6rem; }
.as-gallery-index-item { display: block; min-width: 0; padding: .6rem; background: #fffdfa; border: 1px solid #e5e0d9; color: var(--as-ink); text-align: left; cursor: pointer; }
.as-gallery-index-item[aria-pressed="true"] { border-color: var(--as-teal); }
.as-gallery-index-item img { display: block; width: 100%; height: auto; aspect-ratio: 1.2; object-fit: contain; background: #f2efea; }
.as-gallery-index-item span { display: block; padding: .75rem .2rem .25rem; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; line-height: 1; }
.as-collection-empty { margin: 3rem auto; text-align: center; }
.as-content-page-main { padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.as-content-page-title { margin: 0 0 1.5rem; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 300; line-height: .95; letter-spacing: -.05em; }
.as-content-page-description { max-width: 650px; margin-bottom: 3rem; }
.as-artwork-grid { gap: clamp(1.5rem, 3vw, 3rem); }
.as-artwork-tile .wp-block-post-featured-image { display: grid; place-items: center; margin: 0; background: #f1ede8; }
.as-artwork-tile .wp-block-post-featured-image a { display: grid; place-items: center; width: 100%; height: 100%; }
.as-artwork-tile .wp-block-post-featured-image img { width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.as-artwork-tile .wp-block-post-title { margin: .8rem 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 300; line-height: 1; }
.as-artwork-tile .wp-block-post-title a { text-decoration: none; }
.as-single-artwork { text-align: center; }
.as-single-artwork .as-eyebrow a { text-decoration: none; }
.as-artwork-meta { color: #65716d; font-size: .8rem; letter-spacing: .035em; }
.as-single-artwork-image { margin: 2rem auto; }
.as-single-artwork-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }
.as-single-artwork .wp-block-post-content { max-width: 720px; margin: 2rem auto; text-align: left; line-height: 1.7; }
.as-content-page-footer { padding: 2rem 1.5rem 4rem; border-top: 1px solid var(--as-line); text-align: center; }
.as-content-page-footer a { color: var(--as-teal); text-decoration: none; }
.as-contact-page-main { padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem 7rem; }
.as-contact-intro { max-width: 590px; margin: 0 0 2.5rem; color: #536361; font-size: 1rem; line-height: 1.65; }
.as-contact-form { display: grid; gap: 1.35rem; max-width: 680px; }
.as-contact-field label { display: block; margin-bottom: .45rem; color: #344a49; font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.as-contact-field input, .as-contact-field textarea { display: block; width: 100%; padding: .85rem 1rem; border: 1px solid #b9c9c5; border-radius: 2px; background: #fffdfa; color: var(--as-ink); font: inherit; line-height: 1.45; }
.as-contact-field textarea { min-height: 180px; resize: vertical; }
.as-contact-field input:focus-visible, .as-contact-field textarea:focus-visible { outline: 2px solid var(--as-teal); outline-offset: 2px; }
.as-contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.as-contact-form .as-button { justify-self: start; cursor: pointer; }
.as-contact-notice { max-width: 680px; padding: .85rem 1rem; border-left: 3px solid var(--as-teal); background: #e8f2ef; line-height: 1.5; }
.as-contact-notice.is-error { border-color: #a51b2e; background: #f8ecea; }
@media (max-width: 700px) { .as-artwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.as-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: 0 5rem; }
.as-about-image { min-height: 395px; height: clamp(395px, 39vw, 520px); overflow: hidden; background: #dce5e3; }
.as-about-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.as-about-copy { position: relative; padding: 2rem 0; isolation: isolate; }
.as-about-copy::after { content: ''; position: absolute; z-index: -1; right: -5%; bottom: -3%; width: 42%; aspect-ratio: 1; background: radial-gradient(ellipse at 55% 60%, #88cdd0aa 0%, #b9dedda3 38%, transparent 70%); filter: blur(15px); opacity: .7; }
.as-about-copy h2 { font-size: clamp(2.4rem, 3.7vw, 3.7rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.2rem; }
.as-about-copy .as-rule { margin-bottom: 1.35rem; }
.as-about-copy > p:not(.as-eyebrow) { max-width: 370px; font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.as-text-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--as-teal) !important; font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.as-text-link span { font-size: 1.3rem; font-weight: 400; }

.as-journey { padding: clamp(4rem, 6vw, 6rem) 0 6rem; background: radial-gradient(circle at 82% 4%, rgba(145, 199, 198, .17), transparent 30%), #f5f8f6; }
.as-journey-intro { max-width: 650px; margin: 0 auto 2.5rem; text-align: center; }
.as-journey-intro h2 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.045em; margin-bottom: .8rem; }
.as-journey-intro > p:not(.as-eyebrow) { max-width: 520px; margin-inline: auto; color: #546363; font-size: .9rem; line-height: 1.65; }
.as-journey-key { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; color: var(--as-teal); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-top: 2rem; }
.as-journey-key span:first-child { text-align: right; }
.as-journey-key span:last-child { text-align: left; }
.as-timeline { position: relative; --as-timeline-gap: 30px; }
.as-timeline-track { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 1px; background: #c8dcd9; transform: translateX(-50%); }
.as-timeline-ink { display: block; width: 2px; height: 100%; background: linear-gradient(#57a6a6, #087f85 75%, #7db4b1); }
.as-timeline-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); column-gap: var(--as-timeline-gap); align-items: start; padding: 4rem 0 2rem; }
.as-site-shell .as-timeline-year { position: relative; z-index: 1; grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px auto 0; color: #176d70; background: #f5f8f6; border: 1px solid #9fc9c6; border-radius: 50%; box-shadow: 0 0 0 7px #f5f8f6; font-size: 1.55rem; line-height: 1; }
.as-timeline-entry { position: relative; z-index: 1; min-width: 0; padding: 1rem .15rem 0; border-top: 1px solid #9fc9c6; }
.as-timeline-entry::before { content: ''; position: absolute; top: -1px; width: calc(var(--as-timeline-gap) + 10px); height: 1px; background: #9fc9c6; }
.as-timeline-exhibitions { grid-column: 1; text-align: right; }
.as-timeline-exhibitions::before { right: calc(-1 * (var(--as-timeline-gap) + 10px)); transform-origin: right; }
.as-timeline-honours { grid-column: 3; text-align: left; }
.as-timeline-honours::before { left: calc(-1 * (var(--as-timeline-gap) + 10px)); transform-origin: left; }
.as-timeline-entry h4 { color: var(--as-teal); font-size: .65rem; font-weight: 700; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; margin: 0 0 .85rem; }
.as-timeline-entry ul { list-style: none; margin: 0; padding: 0; }
.as-timeline-entry li { color: #303b3b; font-size: .88rem; line-height: 1.55; }
.as-timeline-entry li + li { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid rgba(63, 129, 127, .13); }
.as-timeline-entry small { display: block; color: #617676; font-size: .74rem; line-height: 1.5; margin-top: .12rem; }
.as-timeline.is-animated .as-timeline-ink { height: var(--as-timeline-progress, 0%); }
.as-timeline.is-animated .as-timeline-year, .as-timeline.is-animated .as-timeline-entry { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.as-timeline.is-animated .as-timeline-year { transform: scale(.84); }
.as-timeline.is-animated .as-timeline-exhibitions { transform: translateX(12px); }
.as-timeline.is-animated .as-timeline-honours { transform: translateX(-12px); }
.as-timeline.is-animated .as-timeline-entry::before { transform: scaleX(0); transition: transform .65s ease .12s; }
.as-timeline.is-animated .as-timeline-row.is-visible .as-timeline-year, .as-timeline.is-animated .as-timeline-row.is-visible .as-timeline-entry { opacity: 1; transform: none; }
.as-timeline.is-animated .as-timeline-row.is-visible .as-timeline-entry::before { transform: scaleX(1); }

.as-footer { background: #ecf2ef; padding-block: 3rem; }
.as-footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.as-footer h2 { font-size: clamp(2.4rem, 3.5vw, 3.2rem); letter-spacing: -.035em; margin-bottom: .7rem; }
.as-footer p:not(.as-eyebrow) { font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.as-footer-signoff { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; gap: .3rem; }
.as-signature { display: block; width: clamp(190px, 20vw, 260px); height: auto; }

@media (max-width: 900px) {
	.as-container { width: min(100% - 3rem, 1120px); }
	.as-hero-copy { top: 12%; left: 5%; max-width: 310px; }
	.as-hero h1 { font-size: clamp(4.3rem, 9vw, 6.2rem); }
	.as-hero-copy p { font-size: 1rem; max-width: 275px; }
	.as-collection-stage-content { width: min(72%, 700px); }
	.as-collection-name { font-size: clamp(2.8rem, 5.2vw, 3.7rem); }
	.as-timeline { --as-timeline-gap: 20px; }
}

@media (max-width: 700px) {
	.as-collection-stage { min-height: 650px; }
	.as-collection-stage-content { width: 100%; padding: 2rem 1.5rem 16rem; }
	.as-collection-backdrop { width: min(95%, 540px); height: 330px; opacity: .56; }
	.as-collection-preview[data-as-preview-key="animals"] { left: 6%; object-position: center 0; }
	.as-collection-name { font-size: clamp(2.4rem, 6.7vw, 3.2rem); }
	.as-gallery-room-header { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 60px; gap: .5rem; padding-inline: 1rem; }
	.as-gallery-room-category { font-size: .58rem; letter-spacing: .1em; line-height: 1.25; }
	.as-gallery-room-exit { font-size: 0; }
	.as-gallery-room-exit span { font-size: 1.45rem; }
	.as-gallery-room-main { display: block; position: relative; padding: 0 .5rem; }
	.as-gallery-image-well { padding: .65rem; }
	.as-gallery-arrow { position: absolute; z-index: 1; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); }
	.as-gallery-arrow-prev { left: .75rem; }
	.as-gallery-arrow-next { right: .75rem; }
	.as-gallery-room-footer { display: block; min-height: 145px; padding: 1rem 1.25rem 1.5rem; }
	.as-gallery-room-footer h2 { font-size: clamp(2.2rem, 8vw, 3.1rem); }
	.as-gallery-room-tools { justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .75rem; }
	.as-gallery-artwork-link { font-size: .7rem; }
	.as-gallery-index { inset-block-start: 60px; padding: 1.25rem 1rem 3rem; }
	.as-gallery-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
	.as-gallery-index-item span { font-size: 1.2rem; }
	.as-journey { padding-block: 4rem; }
	.as-journey-intro { margin-bottom: 1rem; }
	.as-journey-key { display: none; }
	.as-timeline { --as-timeline-gap: 20px; }
	.as-timeline-track { left: 26px; }
	.as-timeline-row { grid-template-columns: 52px minmax(0, 1fr); row-gap: 1.5rem; padding: 3.5rem 0 1rem; }
	.as-site-shell .as-timeline-year { grid-column: 1; grid-row: 1; width: 52px; height: 52px; margin-top: -26px; font-size: 1.3rem; }
	.as-timeline-exhibitions, .as-timeline-honours { grid-column: 2; text-align: left; }
	.as-timeline-entry::before, .as-timeline-exhibitions::before, .as-timeline-honours::before { left: calc(-1 * var(--as-timeline-gap)); right: auto; width: var(--as-timeline-gap); transform-origin: left; }
}

@media (max-width: 650px) {
	.as-header { display: block; padding: 1rem 1.25rem; }
	.as-header-brand { gap: .45rem; }
	.as-header-signature { width: 72px; }
	.as-header-brand .as-wordmark { font-size: clamp(1.65rem, 7vw, 2.15rem); }
	.as-nav { justify-content: flex-start; gap: .75rem 1.3rem; margin-top: .8rem; }
	.as-nav a { font-size: .8rem; }
	.as-container { width: min(100% - 2.5rem, 500px); }
	.as-hero { display: flex; flex-direction: column; }
	.as-hero-media { order: 2; }
	.as-hero-media::after { display: none; }
	.as-hero-copy { position: relative; order: 1; top: auto; left: auto; max-width: none; padding: 2.5rem 1.25rem 2rem; background: #f5f6f2; }
	.as-hero h1 { font-size: clamp(4.7rem, 15vw, 6.5rem); margin-bottom: 1.5rem; }
	.as-hero-copy p { max-width: 330px; }
	.as-hero-actions { flex-direction: column; }
	.as-button { padding-inline: 1rem; }
	.as-collections.as-container { width: 100%; }
	.as-collections { padding: 2rem 0 2.5rem; }
	.as-collection-stage-content { padding-inline: 1.3rem; }
	.as-collection-list { gap: .75rem; }
	.as-collection-option { gap: .2rem; }
	.as-collection-name { font-size: clamp(2.3rem, 8vw, 2.8rem); }
	.as-collection-option-arrow { min-width: 38px; min-height: 38px; }
	.as-about { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 3rem; }
	.as-about-image { min-height: 0; height: auto; aspect-ratio: 1.1; }
	.as-about-copy { padding: 0; }
	.as-footer-inner { display: block; }
	.as-footer-signoff { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.as-button { transition: none; }
	.as-hero-slide { transition: none; }
	.as-hero-control::after { transition: none; }
	.as-collection-preview, .as-collection-option, .as-collection-option-arrow { transition: none; }
	.as-timeline.is-animated .as-timeline-ink { height: 100%; }
	.as-timeline.is-animated .as-timeline-year, .as-timeline.is-animated .as-timeline-entry { opacity: 1; transform: none; transition: none; }
	.as-timeline.is-animated .as-timeline-entry::before { transform: scaleX(1); transition: none; }
}
