:root {
	--paper: #f7f3ec;
	--paper-2: #efe8dc;
	--card: #fffdf9;
	--ink: #221e1b;
	--muted: #6a6158;
	--line: #dcd2c3;
	--accent: #0d5b61;
	--accent-dark: #083f44;
	--sold: #9a4a1c;
	--display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow {
	font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 0.9em;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: #3a342f; max-width: 38em; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 6px 28px; padding-top: 18px; padding-bottom: 14px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 12px; }
.brand-name { font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a {
	color: var(--ink); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.14em;
	text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent-dark); }

/* ---- buttons ---- */
.btn {
	display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
	font: 500 0.86rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
	padding: 15px 24px; border: 1px solid var(--accent); border-radius: 2px; cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--accent-dark); }
.btn-quiet:hover { background: var(--accent); color: #fff; }
.btn-large { padding: 18px 30px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.center .actions { justify-content: center; }
.more {
	font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
	border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap;
}

/* ---- sections ---- */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(26px, 4vw, 44px); }
.page-head h1 { margin-bottom: 0.25em; }
.page-head .lede { margin-bottom: 0; }

/* ---- home ---- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-sub { font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: -0.4em; }
.hero-img { display: block; position: relative; text-decoration: none; background: var(--paper-2); }
.hero-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-caption {
	position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink);
	padding: 8px 14px; font-size: 0.82rem; letter-spacing: 0.08em;
}
.band { background: var(--paper-2); }
.band img { width: 100%; max-height: 300px; object-fit: cover; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #ddd; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s; }
.tile:hover img { transform: scale(1.04); }
.tile-label {
	position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; display: flex; flex-direction: column;
	background: linear-gradient(to top, rgba(20, 16, 12, 0.72), rgba(20, 16, 12, 0));
}
.tile-label strong { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.tile-label span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.split { display: grid; gap: clamp(24px, 5vw, 64px); align-items: start; }
.callout { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.callout p:last-child { margin-bottom: 0; }

/* ---- product cards ---- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card[hidden] { display: none; }
.card-img { position: relative; display: block; background: var(--paper-2); overflow: hidden; margin-bottom: 12px; }
.card-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-name { font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.card-price { color: var(--muted); font-size: 0.95rem; }
.card.is-sold .card-price { color: var(--sold); }
.badge {
	position: absolute; top: 10px; left: 10px; background: var(--sold); color: #fff;
	font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px;
}

/* ---- shop ---- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	font: 400 0.84rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
	background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
	padding: 10px 16px; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sort { font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { font: 400 0.95rem var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 8px 10px; border-radius: 2px; }
.shop-empty { color: var(--muted); }

/* ---- product page ---- */
.product { padding: clamp(20px, 3vw, 36px) 0 clamp(44px, 7vw, 88px); }
.crumbs { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product-grid { display: grid; gap: clamp(24px, 4.5vw, 60px); align-items: start; }
.pmain-link { display: block; background: var(--paper-2); cursor: zoom-in; }
.pmain { width: 100%; max-height: 78vh; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; background: var(--paper-2); cursor: pointer; width: 74px; height: 74px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--accent); }
.product-info h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 0.15em; }
.price { font-size: 1.35rem; margin-bottom: 1.2em; }
.price.is-sold { color: var(--sold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 1.05rem; }
.desc p { margin-bottom: 0.55em; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 1.1em; }
.details { margin: 1.6em 0 0; border-top: 1px solid var(--line); }
.details div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.details dt { width: 7.5em; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; padding-top: 0.2em; }
.details dd { margin: 0; }

/* ---- work wall ---- */
.wall { columns: 1; column-gap: 14px; }
.wall-item { display: block; margin-bottom: 14px; break-inside: avoid; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.wall-item img { width: 100%; transition: transform 0.5s, opacity 0.2s; }
.wall-item:hover img { transform: scale(1.03); }

/* ---- about ---- */
.about-grid { display: grid; gap: clamp(24px, 5vw, 64px); align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; }
.portrait figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.prose h2 { margin-top: 1.3em; }
.prose p { max-width: 36em; }
.trio { display: grid; gap: 14px; }
.trio img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cv { display: grid; gap: clamp(28px, 5vw, 64px); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline .year { flex: 0 0 3.2em; font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.4; }

/* ---- contact ---- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form p { margin: 0 0 18px; }
.form label { display: block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form .opt { text-transform: none; letter-spacing: 0; }
.form input[type="text"], .form input[type="email"], .form textarea {
	width: 100%; font: 400 1.05rem/1.5 var(--body); color: var(--ink); background: var(--card);
	border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.piece { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 12px; margin-bottom: 22px; }
.piece[hidden] { display: none; }
.piece img { width: 96px; height: 96px; object-fit: cover; flex: none; }
.piece p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.piece-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.piece strong { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.piece a { font-size: 0.85rem; margin-top: 4px; }
.alert { padding: 14px 18px; margin-bottom: 22px; border: 1px solid; }
.alert.ok { background: #e7f1ea; border-color: #9cc3a8; color: #1d4a2c; }
.alert.bad { background: #f8e6df; border-color: #dba994; color: #7a2c12; }
.stockists { background: var(--paper-2); padding: clamp(22px, 3vw, 36px); }
.stockists ul { list-style: none; margin: 0; padding: 0; }
.stockists li { padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.stockists li:last-child { border-bottom: 0; padding-bottom: 0; }
.stockists strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 46px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-name { font-family: var(--display); font-size: 1.6rem; font-weight: 600; margin: 0; line-height: 1.2; }
.footer-name span { display: block; font: 400 0.76rem var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--ink); font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-small { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }
.footer-small a { color: var(--muted); }

/* ---- lightbox ---- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(24, 20, 17, 0.94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #e9e2d8; font-size: 0.9rem; padding: 0 60px; }
.lb button {
	position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; cursor: pointer;
	width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
}
.lb button:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-open { overflow: hidden; }

/* grid children may shrink below their content width (keeps phones from scrolling sideways) */
.hero-grid > *, .split > *, .product-grid > *, .about-grid > *, .contact-grid > *, .cv > *, .grid > *, .tiles > *, .trio > * { min-width: 0; }
.section-head { flex-wrap: wrap; }
body { overflow-wrap: break-word; }

/* ---- wider screens ---- */
@media (min-width: 560px) {
	.grid { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
	.wall { columns: 2; }
	.trio { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.grid { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
	.tiles { grid-template-columns: repeat(4, 1fr); }
	.split { grid-template-columns: 1.3fr 1fr; }
	.product-grid { grid-template-columns: 1.1fr 1fr; }
	.product-info { position: sticky; top: 24px; }
	.wall { columns: 3; }
	.about-grid { grid-template-columns: 0.8fr 1.2fr; }
	.cv { grid-template-columns: 1fr 1.6fr; }
	.contact-grid { grid-template-columns: 1.4fr 1fr; }
	.site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; }
	.footer-small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
