/* Artisan Urns – a big interior photo fixed behind the page, content laid over it.
   Slate, white cards and the red accent come from the old site. */
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(../fonts/mulish-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(../fonts/mulish-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(../fonts/mulish-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --slate: #1d222c;
  --slate-2: #272d39;
  --ink: #2a2e36;
  --muted: #5d6470;
  --paper: #ffffff;
  --red: #cc0000;
  --red-dark: #a30000;
  --on-dark: #f3f1ed;
  --on-dark-soft: #cfd2d8;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--slate); color: var(--on-dark);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* The photo. Fixed in its own layer because background-attachment: fixed fails on phones.
   The scrim is what keeps overlaid text readable, whatever the crop. */
.backdrop { position: fixed; inset: 0; height: 100lvh; z-index: -1; background: var(--slate); }
.backdrop picture, .backdrop img { width: 100%; height: 100%; }
.backdrop img { object-fit: cover; object-position: 50% 45%; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,23,30,.72) 0, rgba(20,23,30,.26) 22%, rgba(20,23,30,.3) 42%, rgba(20,23,30,.68) 56%, rgba(20,23,30,.8) 72%, rgba(20,23,30,.92) 100%);
}
.page .backdrop::after, .catalog .backdrop::after, .product .backdrop::after {
  background: linear-gradient(180deg, rgba(20,23,30,.78) 0, rgba(20,23,30,.58) 45%, rgba(20,23,30,.8) 100%);
}

/* On a phone the crop is narrow: keep the main urn in frame */
@media (max-width: 639px) { .home .backdrop img { object-position: 24% 45%; } }

/* Header */
.site-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 4px 12px; padding: 16px var(--gutter) 10px;
}
.brand {
  grid-column: 2; font: 400 clamp(1.05rem, 3.6vw, 1.4rem)/1.2 var(--sans);
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap;
  padding-left: .24em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.top-shop {
  grid-column: 3; justify-self: end; color: #fff; text-decoration: none; font-size: .82rem; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 1px; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.top-shop:hover { border-color: #fff; }
.top-shop .wide { display: none; }
.nav-toggle {
  grid-column: 1; grid-row: 1; justify-self: start; width: 44px; height: 44px; margin-left: -10px;
  background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 0 6px rgba(0,0,0,.5);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.site-nav { grid-column: 1 / -1; }
.js .site-nav { display: none; }
.js .site-nav.open { display: block; }
html:not(.js) .nav-toggle { display: none; }
.site-nav ul { display: flex; flex-direction: column; gap: 0; background: rgba(20,23,30,.92); border-radius: var(--radius); padding: 8px 16px; margin-top: 8px; }
.site-nav a { display: block; padding: 11px 0; text-decoration: none; color: #fff; font-size: .95rem; letter-spacing: .05em; }
.site-nav a[aria-current] { color: #ff9c94; }

/* Buttons */
.btn {
  display: inline-block; background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 12px 24px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .03em;
  transition: background-color .2s, border-color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: rgba(20,23,30,.35); border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Home: the photo stays, the content rises over it */
.hero {
  min-height: calc(100svh - 96px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; padding-block: 40px 56px;
}
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 5rem); color: #fff; margin-bottom: .25em;
  text-shadow: 0 2px 22px rgba(0,0,0,.6);
}
.hero .lead {
  max-width: 38em; font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: #fff; margin: 0 0 1.5em;
  text-shadow: 0 1px 12px rgba(0,0,0,.75);
}

.collections { padding-block: 16px 72px; }
.tiles { display: grid; gap: 20px; }
.tile a { display: block; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile-body { display: block; padding: 18px 22px 24px; }
.tile-title { display: block; font: 400 1.4rem/1.25 var(--serif); margin-bottom: 4px; }
.tile-text { display: block; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.tile a:hover .tile-title { color: var(--red); }

.statement { background: var(--paper); color: var(--ink); padding-block: clamp(48px, 8vw, 88px); }
.statement-inner { display: grid; gap: 40px; }
.statement .prose p:first-child { font: 400 clamp(1.4rem, 3.2vw, 1.9rem)/1.4 var(--serif); margin-top: 0; }
.points { display: grid; gap: 28px; }
.points h2 { font-size: 1.25rem; margin-bottom: .25em; }
.points h2::before { content: ""; display: block; width: 28px; height: 2px; background: var(--red); margin-bottom: 12px; }
.points p { margin: 0; color: var(--muted); }

.latest { padding-block: clamp(48px, 7vw, 80px); }
.latest > h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); color: #fff; text-align: center; margin-bottom: 1em; text-shadow: 0 1px 12px rgba(0,0,0,.7); }

/* Headings laid over the photo */
.page-head { padding-block: clamp(40px, 9vw, 96px) clamp(24px, 4vw, 40px); text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.65); margin-bottom: .3em; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.page-head .lead { max-width: 40em; margin: 0 auto; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.crumb { margin: 0 0 8px; font-size: .9rem; letter-spacing: .05em; }
.crumb a { text-decoration: none; border-bottom: 1px solid currentColor; }
.page-head .crumb { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.8); }

/* Product cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cards + .panel, .works + .panel { margin-top: 32px; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.32); }
/* contain, not cover: Phil's photos carry a caption with size and capacity, which a crop would cut */
.card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #e4e4e7; transition: transform .5s; }
.card a:hover .card-photo img { transform: scale(1.03); }
.card-photo { overflow: hidden; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 18px; }
.card-title { font: 400 1.15rem/1.3 var(--serif); }
.card-price { color: var(--muted); font-size: .95rem; }
.card a:hover .card-title { color: var(--red); }

/* White panels for reading */
.panel { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 5vw, 48px); box-shadow: 0 10px 30px rgba(0,0,0,.3); margin-block: 0 24px; }
.prose { max-width: 42em; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.5em; }
/* Big opening and closing quotation marks round text in Phil's own words */
.in-his-words::before, .in-his-words::after {
  display: block; font: 400 clamp(5.5rem, 16vw, 9rem)/1 var(--serif); color: var(--red); height: .5em;
}
.in-his-words::before { content: "\201C" / ""; margin-bottom: .1em; }
.in-his-words::after { content: "\201D" / ""; text-align: right; margin-top: .05em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.in-his-words > :last-of-type { margin-bottom: 1em; }
.prose a { color: var(--red); }
.panel-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-bottom: 64px; }
.quotes { display: grid; gap: 20px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 10px; font: italic 400 1.1rem/1.6 var(--serif); }
.quote figcaption { color: var(--muted); font-size: .92rem; }

/* A piece: title over the photo, then the gallery straight on the backdrop, then the article */
.piece-head { padding-bottom: clamp(20px, 3vw, 32px); }
.piece-head .crumb { margin: 0; font-size: .85rem; }
.piece { display: grid; gap: 24px; padding-block: 0 56px; }
.piece-photos { min-width: 0; }
.viewer { position: relative; outline-offset: 4px; }
.shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.shots picture { height: 100%; }
/* Whatever its shape, a photo zooms to fill the frame */
.shots img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.viewer-btn { display: none; }

/* With JavaScript the photos are stacked: the new one fades in over the old, which stays put underneath */
.js .shots { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; touch-action: pan-y; }
.js .shots > * { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease; }
.js .shots > .is-under { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.js .shots > .is-on { opacity: 1; visibility: visible; z-index: 2; }
.js .viewer-btn {
  display: grid; place-items: center; position: absolute; z-index: 3; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(20,23,30,.55); color: #fff; cursor: pointer; transition: background-color .2s;
}
.js .viewer-btn:hover { background: rgba(20,23,30,.85); }
.viewer-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js .viewer-prev { left: 10px; top: 50%; margin-top: -22px; }
.js .viewer-next { right: 10px; top: 50%; margin-top: -22px; }
.js .viewer-full { right: 10px; top: 10px; }
.js .viewer-close { display: none; right: 16px; top: 16px; }
.viewer.is-single .viewer-prev, .viewer.is-single .viewer-next { display: none; }

/* Full screen slideshow. A fixed layer as well as the Fullscreen API: iPhone Safari has no API for this */
.viewer.is-full { position: fixed; inset: 0; z-index: 100; background: #0f1218; outline: 0; }
.viewer.is-full .shots { height: 100%; aspect-ratio: auto; }
.viewer.is-full .shots img { aspect-ratio: auto; object-fit: contain; }
.viewer.is-full .viewer-full { display: none; }
.viewer.is-full .viewer-close { display: grid; }
.viewer.is-full .viewer-prev, .viewer.is-full .viewer-next { display: grid; }
.slide-text { display: none; }
.viewer.is-full .slide-text { display: block; overflow-y: auto; background: #0f1218; color: var(--on-dark); padding: 72px var(--gutter) 40px; }
.slide-text-inner { max-width: 42em; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.slide-text h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); color: #fff; margin-bottom: .6em; }
.slide-text .prose { max-width: none; margin: 0; }
.slide-text .piece-buy { max-width: none; margin: 24px 0 0; border-top-color: var(--slate-2); }

.thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.piece-photos .thumbs { margin-top: 12px; }
.thumbs a { display: block; width: 64px; height: 64px; overflow: hidden; opacity: .65; transition: opacity .2s; }
.thumbs a:hover, .thumbs a[aria-current] { opacity: 1; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; }
.piece-text { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); box-shadow: 0 10px 30px rgba(0,0,0,.3); min-width: 0; width: 100%; max-width: 54em; margin-inline: auto; }
.piece-text .prose { margin: 0 auto; }
.piece-buy { max-width: 42em; margin: 28px auto 0; border-top: 1px solid #e6e6e6; padding-top: 24px; }
.piece-price { font: 400 1.6rem/1.2 var(--serif); margin: 0 0 16px; }
.piece-note { color: var(--red-dark); font-weight: 600; margin: 0 0 12px; }

/* Past work */
.works { display: grid; gap: 20px; }
.work { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.32); }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-body { padding: 18px 22px 22px; }
.work h2 { font-size: 1.3rem; margin-bottom: .3em; }
.work p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Footer */
.site-footer { margin-top: auto; background: var(--slate); color: var(--on-dark-soft); font-size: .95rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 32px; border-bottom: 1px solid var(--slate-2); }
.footer-cta p { margin: 0; color: var(--on-dark); font: 400 1.2rem/1.4 var(--serif); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 32px; }
.footer-cols a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; font-size: .85rem; padding-block: 0 24px; margin-block: 0; }

/* On a phone the arrows sit in the bottom corners and step aside on the text slide: swipe and close still work there */
@media (max-width: 639px) {
  .viewer.is-full .viewer-prev, .viewer.is-full .viewer-next { top: auto; bottom: 16px; margin-top: 0; }
  .viewer.is-full.is-text .viewer-prev, .viewer.is-full.is-text .viewer-next { display: none; }
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .works, .quotes { grid-template-columns: repeat(2, 1fr); }
  .top-shop .wide { display: inline; }
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .statement-inner { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .nav-toggle { visibility: hidden; }
  .js .site-nav, .site-nav { display: block; }
  .site-nav ul { flex-direction: row; justify-content: center; gap: 34px; background: none; padding: 0; margin-top: 2px; }
  .site-nav a { padding: 6px 0; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
  .site-nav a[aria-current] { color: #fff; box-shadow: 0 1px 0 #fff; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .js .shots > * { transition: none; } }
@media print { .backdrop, .site-top, .site-footer { display: none; } body { background: #fff; color: #000; } }
