@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-sans-regular.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #222;
  --muted: #686868;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #fff; background: #333; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
p { overflow-wrap: break-word; }
[hidden] { display: none !important; }
/* Keep the standalone preview navigable when its viewer does not run scripts. */
html:not(.js-routing) main > [data-page] { display: none; }
html:not(.js-routing) main > .home-page { display: block; }
html:not(.js-routing) main:where(:has(> [data-page]:target)) > [data-page] { display: none; }
html:not(.js-routing) main > [data-page]:target { display: block; }
.shell { width: min(calc(100% - 140px), 1360px); margin-inline: auto; }
.site-header { position: relative; display: flex; align-items: center; min-height: 118px; }
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 1.65rem;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-transform: none;
}
.site-header nav { width: 100%; }
.site-header ul {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.8rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .nav-atelier { grid-column: 3; }
.site-header .nav-contact { grid-column: 4; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  line-height: 1.6;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.site-header nav a[aria-current] { text-decoration: underline; }
main:focus, .page-title:focus { outline: none; }
.page { padding-block: 28px 66px; }
.page-title {
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-align: center;
}
.home-photo img { aspect-ratio: 2048 / 1349; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; max-width: 1040px; margin: 16px auto 44px; }
.home-heading .page-title { max-width: 490px; font-family: var(--sans); font-size: clamp(2.5rem, 4.2vw, 3.8rem); line-height: 1.12; letter-spacing: -.04em; text-transform: none; text-align: left; }
.home-description { margin: 0; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.home-actions .text-link { margin-top: .65rem; }
.home-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: .8em; min-height: 48px; margin-top: .65rem; padding: 10px 18px; color: #fff; background: var(--ink); line-height: 1.5; }
.home-primary-link:hover { color: #fff; background: #444; }
.home-primary-link:focus-visible { outline-color: var(--ink); }
.page-intro { max-width: 750px; margin: 0 auto 50px; text-align: center; }
.page-intro .page-title { margin-bottom: 2rem; }
.page-intro p + p { margin-top: 1rem; }
.inline-link { text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: .8em; min-height: 44px; margin-top: 1rem; text-decoration: underline; }
.photo-link { display: block; cursor: zoom-in; }
.shop-page { max-width: 1040px; margin-inline: auto; padding-top: 38px; }
.shop-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; margin-bottom: 28px; }
.shop-intro .page-title { font-family: var(--sans); font-size: 2.25rem; line-height: 1.2; letter-spacing: -.025em; text-transform: none; text-align: left; }
.shop-intro p { max-width: 360px; font-size: 1rem; color: var(--muted); }
.shop-collection-photo { margin: 0 0 34px; }
.shop-collection-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center bottom; }
.shop-collection-photo + .order-guide { margin-top: 0; }
.order-guide { margin: -22px 0 30px; max-width: 820px; }
.order-guide summary { width: fit-content; max-width: 100%; min-height: 44px; padding-block: 8px; cursor: pointer; font-size: .9375rem; text-decoration: underline; text-underline-offset: .22em; }
.order-guide ol { margin: 12px 0; padding-left: 24px; }
.order-guide li { padding-left: 8px; }
.order-guide li + li { margin-top: 12px; }
.order-guide > p { margin: 16px 0 24px; }
.shop-family { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 44px; padding-block: 24px 42px; }
.shop-family + .shop-family { border-top: 1px solid #e8e8e8; padding-top: 38px; }
.shop-family-title { padding-top: 4px; font-size: .875rem; line-height: 1.5; letter-spacing: .075em; text-transform: uppercase; }
.shop-grid { --shop-column-gap: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--shop-column-gap); align-items: start; }
.product-card { min-width: 0; }
.product-card-link { display: block; }
.product-card-link:hover { color: var(--ink); }
.product-card-link:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.product-card-link:hover img { opacity: .88; }
.product-card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: #f7f7f7; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .18s ease; }
.product-card--studio .product-card-media { overflow: hidden; }
.product-card--studio .product-card-media img { object-position: center; }
.product-card--studio .product-card-media img[data-photo-fit="contain"] { object-fit: contain; }
.product-card-heading { display: grid; gap: .22rem; margin-top: 1rem; text-align: center; }
.product-card-heading h3, .product-card-heading p { font-size: .9375rem; line-height: 1.5; }
.product-card-heading h3 { min-height: 3em; }
.product-card-heading p { color: var(--muted); }
.product-card-price { white-space: nowrap; }
.shop-editorial-photo { margin: 18px 0 34px; }
.shop-editorial-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
img[data-photo-tone="soft"] { filter: brightness(1.05); }
.shop-note { max-width: 640px; margin: 12px auto 0; text-align: center; color: var(--muted); font-size: .875rem; }
.product-page { max-width: 1120px; margin-inline: auto; }
.product-back { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-bottom: 20px; font-size: .875rem; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 80px); }
.product-photo img { height: auto; }
.product-gallery { min-width: 0; }
.product-gallery .product-photo > a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; }
.product-gallery .product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery--studio .product-photo > a { overflow: hidden; }
.product-gallery--studio .product-photo img { object-fit: contain; }
.product-gallery--studio .product-photo img[data-photo-fit="contain"] { object-fit: contain; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.product-thumbnail { display: flex; align-items: center; justify-content: center; width: 76px; height: 92px; padding: 3px; border: 1px solid transparent; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnail[aria-current="true"] { border-color: var(--ink); }
.product-thumbnail:hover { border-color: var(--muted); }
.product-photo-count { margin-top: 10px; color: var(--muted); font-size: .875rem; }
.product-copy { padding-top: 8px; }
.product-copy .product-title { font-size: 1.5rem; line-height: 1.35; letter-spacing: .01em; text-transform: none; text-align: left; }
.product-status { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.product-material { margin-top: .7rem; }
.product-description { margin-top: 1rem; max-width: 38ch; line-height: 1.65; }
.product-dimensions { margin-top: .25rem; color: var(--muted); }
.product-price { margin-top: 1.05rem; font-size: 1.125rem; }
.product-shipping { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.product-specs { margin: 1.6rem 0 0; }
.product-specs > div { display: grid; grid-template-columns: minmax(110px, .85fr) minmax(0, 1.15fr); gap: 16px; padding-block: .5rem; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; }
.purchase-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 12px 20px; margin-top: 1.8rem; color: #fff; background: var(--ink); line-height: 1.5; text-align: center; }
.purchase-link:hover { color: #fff; background: #444; }
.purchase-link:focus-visible { outline-color: var(--ink); }
.product-handmade-note { margin-top: 1.5rem; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.product-order-note { margin-top: 1rem; color: var(--muted); font-size: .875rem; }
.atelier-page { max-width: 1120px; margin-inline: auto; }
.atelier-page > .page-title { margin-bottom: 52px; }
.atelier-portrait-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.atelier-portrait { width: 100%; max-width: 380px; }
.atelier-portrait img { height: auto; }
.atelier-portrait figcaption { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.atelier-intro h2 { margin-bottom: 28px; font-family: var(--sans); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -.025em; }
.atelier-intro p + p { margin-top: 1.25rem; }
.atelier-background { color: var(--muted); }
.atelier-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 68px; }
.atelier-photo-grid img { width: 100%; height: auto; }
.atelier-collection { max-width: 560px; margin: 64px auto 0; }
.atelier-collection img { height: auto; }
.contact-layout h2 { font-size: 1rem; line-height: 1.6; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1.6rem; }
.contact-copy p + p { margin-top: 1.15rem; }
.contact-page { min-height: 56vh; }
.contact-page > .page-title { margin-bottom: 64px; }
.order-page { max-width: 780px; margin-inline: auto; }
.order-page > .page-title { margin-bottom: 32px; text-align: left; font-size: 2rem; letter-spacing: -.02em; text-transform: none; }
.order-intro { max-width: 58ch; }
.order-steps { margin: 24px 0 36px; padding-left: 24px; }
.order-steps li { padding-left: 6px; }
.order-steps li + li { margin-top: 14px; }
.order-block { padding-block: 28px; border-top: 1px solid #e8e8e8; }
.order-block h2 { margin-bottom: 14px; font-size: 1.35rem; line-height: 1.4; }
.order-block p + p { margin-top: 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(44px, 8vw, 110px); max-width: 1020px; margin: 0 auto 40px; }
.contact-details a { display: flex; width: fit-content; max-width: 100%; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.email-link { margin-top: 1rem; }
.instagram-link { margin-top: .5rem; }
.site-footer { padding-block: 28px 38px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.site-footer p { margin-top: .6rem; color: var(--muted); font-size: .8125rem; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; color: white; background: #222; padding: 8px 16px; }
.viewer-open { overflow: hidden; }
.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}
.photo-viewer:not([open]) { display: none; }
.photo-viewer::backdrop { background: #fff; }
.viewer-content { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; height: 100%; padding: 16px clamp(20px, 4vw, 60px); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.viewer-toolbar, .viewer-navigation { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.viewer-toolbar, .viewer-navigation { font-size: .875rem; line-height: 1.6; }
.viewer-toolbar button, .viewer-navigation button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; min-width: 44px; padding: 4px; border: 0; background: transparent; cursor: pointer; }
.viewer-toolbar button:hover, .viewer-navigation button:hover { text-decoration: underline; text-underline-offset: .22em; }
.viewer-close span { font-size: 1.5rem; line-height: 1; }
.viewer-figure { display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; }
.viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 80px); }
  .contact-layout { gap: 42px; }
  .shop-family { grid-template-columns: 100px minmax(0, 1fr); gap: 28px; }
  .shop-grid { --shop-column-gap: 24px; gap: 32px var(--shop-column-gap); }
}
@media (max-width: 850px) and (min-width: 701px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { flex-direction: column; min-height: 130px; justify-content: center; gap: .45rem; }
  .brand { position: static; transform: none; }
  .site-header ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.15rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .brand { font-size: 1.5rem; }
  .site-header nav a { font-size: .875rem; letter-spacing: .055em; }
  .page { padding-block: 18px 38px; }
  .home-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 0 0 30px; }
  .home-heading .page-title { font-size: clamp(2.25rem, 8vw, 3rem); }
  .home-actions { column-gap: 24px; }
  .page-intro { margin-bottom: 32px; }
  .page-intro .page-title { margin-bottom: 1.5rem; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .atelier-page > .page-title, .contact-page > .page-title { margin-bottom: 30px; }
  .atelier-portrait-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .atelier-portrait { width: 85%; max-width: 340px; margin-inline: auto; }
  .atelier-intro h2 { margin-bottom: 22px; }
  .atelier-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
  .atelier-collection { margin-top: 40px; }
  .contact-layout h2 { margin-bottom: 1.2rem; }
  .contact-layout { margin-bottom: 0; }
  .contact-page { min-height: auto; }
  .shop-intro { display: block; margin-bottom: 22px; }
  .shop-intro .page-title { font-size: 1.875rem; }
  .shop-intro p { margin-top: 12px; }
  .shop-collection-photo { margin-bottom: 22px; }
  .order-guide { margin-top: -14px; margin-bottom: 20px; }
  .shop-family { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 16px 32px; }
  .shop-family + .shop-family { padding-top: 24px; }
  .shop-family-title { padding-top: 0; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .shop-editorial-photo { margin: 8px 0 24px; }
  .product-card-heading h3, .product-card-heading p { font-size: .875rem; }
  .product-card-heading h3 { min-height: 3em; }
  .shop-note { text-align: left; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .product-copy { padding-top: 0; }
  .product-back { margin-bottom: 14px; }
  .site-footer { padding-block: 18px 26px; }
}
@media (max-width: 600px) {
  .site-header ul { column-gap: .85rem; }
  .site-header nav a { font-size: .8125rem; }
}
@media (max-width: 340px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Uniform visual framing for the five retained cup photographs. */
#famille-tasses + .shop-grid .product-card-media { overflow: hidden; }
#famille-tasses + .shop-grid .product-card-media img { transform: translateY(var(--cup-offset, 0%)) scale(var(--cup-scale, 1)); transform-origin: center; }
.product-card[data-inventory-number="1"] { --cup-scale: 1.56; --cup-offset: -3%; }
.product-card[data-inventory-number="2"] { --cup-scale: 1.41; --cup-offset: 3.5%; }
.product-card[data-inventory-number="3"] { --cup-scale: 1.22; --cup-offset: 6.5%; }
.product-card[data-inventory-number="4"] { --cup-scale: 1.54; --cup-offset: 2.5%; }
.product-card[data-inventory-number="5"] { --cup-scale: 1.44; --cup-offset: 1%; }

/* Shared order dialog, using the shop's existing black and white treatment. */
.purchase-link:is(button) { border: 0; font: inherit; cursor: pointer; }
.order-dialog { width: min(36rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; margin: auto; padding: 24px; overflow: auto; border: 1px solid #aaa; background: #fff; color: #181818; }
.order-dialog::backdrop { background: rgb(0 0 0 / 35%); }
.order-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-header h2 { margin: 0; font-size: 1.5rem; font-weight: 500; }
.order-close { min-width: 44px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.order-dialog fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.order-label { display: block; margin: 16px 0; font-size: 1rem; }
.order-label input { display: block; width: 100%; min-height: 44px; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; border: 1px solid #aaa; border-radius: 0; background: #fff; color: inherit; font: inherit; }
.order-dialog input[type=radio], .order-dialog input[type=checkbox] { accent-color: #181818; flex: 0 0 auto; }
.order-fulfilment legend, #order-address legend { margin: 16px 0 10px; font-size: 1rem; font-weight: 500; }
.order-fulfilment label { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; font-size: 1rem; }
.order-address-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; }
.order-total { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0 16px; padding-top: 16px; border-top: 1px solid #ddd; font-size: 1.125rem; }
.order-consent { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; font-size: .9375rem; }
.order-consent a { text-decoration: underline; }
.order-help, .order-message { font-size: .9375rem; line-height: 1.5; }
.order-help { margin: 16px 0; }
.order-dialog [hidden] { display: none !important; }
.order-dialog .purchase-link { width: 100%; justify-content: center; }
.order-dialog button:disabled { opacity: .55; cursor: wait; }
.purchase-question { display: block; margin-top: 12px; font-size: .9375rem; }
#order-email { font-size: .9375rem; }
@media (max-width: 420px) { .order-dialog { padding: 20px; } .order-address-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
