:root {
  color-scheme: light;
  --paper: #faf7ef;
  --white: #fffdf8;
  --sage: #e8ede3;
  --ink: #222e25;
  --muted: #4e574e;
  --green: #263e30;
  --accent: #7b492e;
  --line: #d9d7ca;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, p, dl, dd, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(3.6rem, 6.65vw, 7rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2.55rem, 4.7vw, 5rem); letter-spacing: -.045em; }
h3 { font-size: 1.54rem; letter-spacing: -.025em; }
em { color: var(--accent); font-weight: 400; }
.frame { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 0; z-index: 3; padding: .8rem 1rem; background: var(--white); transform: translateY(-120%); }
.skip:focus { transform: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.15; }
.brand img { flex: none; border-radius: 50%; }
nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 3.1vw, 52px); }
nav a { text-decoration: none; font-weight: 600; font-size: .9rem; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; min-height: 49px; background: var(--green); color: white; border: 1px solid var(--green); border-radius: 3px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.button:hover { background: #3d5644; }
.button:focus-visible { outline-color: var(--green); }
.button-small { min-height: 42px; padding: 8px 15px; color: var(--green); background: transparent; }
.button-small:hover { color: white; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: .91rem; font-weight: 700; text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--green); font-size: .73rem; letter-spacing: .145em; font-weight: 700; text-transform: uppercase; }
.kicker span:first-child { width: 22px; height: 1px; background: var(--accent); flex: none; }

.hero { padding: 48px 0 57px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.28fr; align-items: stretch; gap: clamp(30px, 5vw, 76px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 0 39px; }
.hero-copy h1 { margin-top: 20px; }
.hero-intro { color: var(--muted); max-width: 37ch; margin: 25px 0 28px; font-size: clamp(1rem, 1.5vw, 1.19rem); }
.hero-photo { position: relative; min-height: clamp(430px, 40vw, 610px); }
.hero-photo .gallery-media { position: absolute; inset: 0; }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { object-position: 49% center; }

.specialties { background: var(--sage); padding: 58px 0 67px; }
.specialties h2, .visit h2 { margin-top: 10px; }
.specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 31px; }
.specialty-grid > div { border-top: 1px solid #aebcaf; padding-top: 16px; }
.specialty-grid p { color: var(--muted); margin-top: 9px; max-width: 29ch; font-size: .95rem; }

.orders { padding: clamp(58px, 8vw, 118px) 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 7vw, 100px); }
.order-photo .gallery-media { aspect-ratio: 1.1; }
.order-photo img { object-position: center 62%; }
.feature-copy h2, .portrait-copy h2 { margin: 12px 0 20px; }
.offer-list { margin-bottom: 27px; }
.offer-list > div { border-top: 1px solid var(--line); padding: 12px 0; }
.offer-list dt { font-weight: 700; }
.offer-list dd { color: var(--muted); margin-top: 4px; }

.portrait { padding: 54px 0; background: #f0e8dc; }
.portrait-grid { max-width: 1000px; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(26px, 7vw, 96px); align-items: center; }
.portrait-gallery .gallery-media { max-height: 440px; aspect-ratio: .92; }
.portrait-photo { object-position: center 39%; }
.portrait-copy > p:not(.kicker):not(.signature) { max-width: 41ch; color: var(--muted); }
.signature { margin-top: 14px; color: var(--accent); font-family: var(--serif); font-size: 1.8rem; font-style: italic; }

.visit { background: var(--white); padding: clamp(55px, 7vw, 94px) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.17fr .86fr; align-items: start; gap: clamp(20px, 4vw, 58px); margin-top: 28px; }
.visit-info h3, .hours h3 { margin-bottom: 13px; }
address { font-style: normal; margin-bottom: 13px; }
.contacts { margin-top: 21px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.contacts a, .hours dd a { text-underline-offset: 3px; }
.hours dl { margin-bottom: 15px; font-size: .9rem; }
.hours dl > div { display: grid; grid-template-columns: 1.15fr 1fr; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.hours dd { text-align: right; }
.shop-photo .gallery-media { aspect-ratio: .98; }
.shop-photo img { object-position: center 53%; }
.site-footer { color: var(--white); background: var(--green); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 108px; padding-block: 16px; }
.brand small { font-family: var(--sans); font-size: .75rem; font-weight: 400; }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 70px); }
  .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 30px; }
  .hero-photo { min-height: 420px; }
  .specialty-grid { gap: 21px; }
  .visit-grid { grid-template-columns: 1fr 1.15fr; }
  .shop-photo { grid-column: 1 / -1; }
  .shop-photo .gallery-media { max-height: 320px; }
  .shop-photo img { object-position: center 51%; }
}

@media (max-width: 760px) {
  .frame { width: calc(100% - 38px); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 0; gap: 0; padding-top: 12px; }
  .brand img { width: 47px; height: 47px; }
  .header-inner nav { order: 3; width: 100%; justify-content: space-between; gap: 4px 12px; margin-top: 11px; padding-block: 10px; border-top: 1px solid var(--line); }
  nav a { padding: 4px 0; font-size: .84rem; }
  .button-small { font-size: .81rem; gap: 7px; padding-inline: 10px; }
  .hero { padding: 23px 0 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 19px; }
  .hero-copy { padding: 10px 0 4px; }
  .hero-copy h1 { margin-top: 11px; }
  .hero-intro { margin: 18px 0; }
  .hero-photo { min-height: 0; aspect-ratio: 1.32; }
  .specialties { padding: 40px 0 46px; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); gap: 21px 17px; margin-top: 24px; }
  .specialty-grid h3 { font-size: 1.3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-copy { grid-row: 1; }
  .order-photo .gallery-media { aspect-ratio: 1.37; }
  .portrait-grid { grid-template-columns: 1fr; }
  .portrait-gallery .gallery-media { max-height: 360px; }
  .portrait-copy { grid-row: 1; }
  .visit-grid { grid-template-columns: 1fr; gap: 29px; }
  .shop-photo { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 365px) {
  h1 { font-size: 3.12rem; }
  nav a { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

[data-copy="brand"], [data-copy="address"] { white-space: pre-line; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-gallery] { position: relative; min-width: 0; }
.gallery-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--photo-radius, 4px);
}
.gallery-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--photo-fit, cover);
}
.gallery-media img[data-framed] {
  object-position: var(--photo-position);
  transform-origin: var(--photo-position);
  transform: scale(var(--photo-zoom));
}
[data-gallery] figcaption, .photo-caption {
  position: absolute;
  inset: auto auto 11px 11px;
  max-width: calc(100% - 22px);
  max-height: 32%;
  overflow: auto;
  overflow-wrap: anywhere;
  z-index: 2;
  border-radius: 3px;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) var(--caption-opacity, 100%), transparent);
  padding: 5px 9px;
  color: var(--green);
  font-size: .8rem;
  text-shadow: 0 0 3px var(--paper), 0 0 5px var(--paper);
}
#manual-hours dd { white-space: pre-line; }
.gallery-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5px;
  pointer-events: none;
}
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font: 44px/1 system-ui, sans-serif;
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
  cursor: pointer;
  pointer-events: auto;
}
.gallery-controls button:hover { background: #101c2940; }
.gallery-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; box-shadow: inset 0 0 0 4px #263e30; }
#google-hours { border: 1px solid var(--line); padding: 11px; margin-bottom: 13px; font-size: .88rem; }
#google-hours ul { list-style: none; padding: 0; margin: 5px 0; }
#google-hours li { padding: 3px 0; border-bottom: 1px solid var(--line); }
.hours-title { font-weight: 700; }
.maps-attribution { display: block; margin-top: 6px; font: 400 12px Roboto, var(--sans); color: #5e5e5e; }
.maps-attribution [translate="no"] { white-space: nowrap; }

.legal-page { margin-block: 2rem; max-width: 820px; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-block: 1rem; }
.legal-page h2 { font-size: 1.65rem; margin-top: 1.25rem; }

[data-theme="bordeaux"] { --paper: #fbf2ee; --sage: #f0e1dc; --white: #fffaf7; --green: #682b3e; --ink: #33242a; --accent: #923e51; --line: #d8c4c6; }
[data-theme="bleu"] { --paper: #f0f4f7; --sage: #dde8ee; --white: #fcfdff; --green: #294b63; --ink: #1f323e; --accent: #365d7e; --line: #c7d4dc; }
[data-theme="olive"] { --paper: #f7f3e7; --sage: #e8e8d5; --white: #fffdf4; --green: #48522a; --ink: #303524; --accent: #7d4b20; --line: #d6d2bd; }
[data-type="sans"] { --serif: var(--sans); }
[data-shape="soft"] { --photo-radius: 24px; }
[data-shape="square"] { --photo-radius: 0px; }
[data-crop="contain"] { --photo-fit: contain; }
.appearance-preview img { border-radius: var(--photo-radius, 4px); object-fit: var(--photo-fit, cover); }
html[data-portrait="hide"] .portrait, html[data-captions="hide"] [data-gallery] figcaption { display: none; }
@media (min-width: 761px) {
  html[data-layout="left"] .hero-grid { grid-template-columns: 1.28fr .92fr; }
  html[data-layout="left"] .hero-photo { grid-area: 1 / 1; }
  html[data-layout="left"] .hero-copy { grid-area: 1 / 2; }
}

.site-text-slot:empty { display: none; }
.site-text-slot { display: grid; gap: 24px; padding-block: clamp(24px, 5vw, 55px); }
.site-text-block { overflow-wrap: anywhere; max-width: 76ch; }
.site-text-block h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.site-text-block p { white-space: pre-wrap; }
.site-text-block ul { margin: .4rem 0 0; padding-left: 1.3rem; }
.site-text-block[data-format="notice"] { background: var(--sage); border-left: 3px solid var(--green); border-radius: 4px; padding: clamp(12px, 2.5vw, 24px); }

[data-theme="bleu-creme"] {
  --paper: #f7f1e6;
  --sage: #e0eaf3;
  --white: #fffaf2;
  --ink: #1b3045;
  --muted: #445567;
  --green: #203d59;
  --accent: #365e80;
  --line: #ced8e0;
  --portrait-paper: #eaf0f6;
}
.portrait { background: var(--portrait-paper, #f0e8dc); }
[data-type="cormorant"] { --serif: 'Cormorant Garamond', Georgia, serif; }
[data-type="baskervville"] { --serif: Baskervville, Georgia, serif; }
[data-type="dmserif"] { --serif: 'DM Serif Text', Georgia, serif; }
[data-type="instrumental"] { --serif: 'Instrument Serif', Georgia, serif; }
[data-type="fraiche"] { --serif: 'Bricolage Grotesque', system-ui, sans-serif; }
[data-body-font="inter"] { --sans: Inter, system-ui, sans-serif; }
[data-body-font="work"] { --sans: 'Work Sans', system-ui, sans-serif; }
[data-body-font="source"] { --sans: 'Source Sans 3', system-ui, sans-serif; }
[data-body-font="nunito"] { --sans: Nunito, system-ui, sans-serif; }
[data-body-font="georgia"] { --sans: Georgia, serif; }

html[data-background="custom"] body,
.appearance-preview[data-background="custom"] {
  background: var(--custom-paper, var(--paper));
  color: var(--custom-ink, var(--ink));
}
html[data-background="custom"] :is(.hero, .orders, .site-text-slot, .site-header),
.appearance-preview[data-background="custom"] {
  --muted: var(--custom-ink, var(--ink));
  --accent: var(--custom-ink, var(--ink));
}
html[data-background="custom"] :is(.hero, .orders, .site-header) .kicker,
html[data-background="custom"] .header-visit:not(:hover) { color: var(--custom-ink, var(--ink)); }
html[data-background="custom"] .header-visit:not(:hover) { border-color: currentColor; }
html[data-background="custom"] :is(.specialties, .portrait, .visit, .site-text-block[data-format="notice"]) {
  color: var(--ink);
  --accent: #365068;
}

@media (prefers-reduced-motion: no-preference) {
  html:is([data-motion="immersive"], [data-motion="subtle"]) .actions .button {
    transition: translate .2s ease, background-color .2s, color .2s;
  }
  @media (hover: hover) {
    html:is([data-motion="immersive"], [data-motion="subtle"]) .actions .button:hover { translate: 0 -2px; }
  }
  @supports (animation-timeline: view()) {
    html[data-motion="immersive"][data-crop="cover"] :is(.order-photo, .shop-photo) img:not([data-framed]) {
      animation: photo-travel linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes photo-travel {
  from { object-position: center 34%; }
  to { object-position: center 66%; }
}

:root { --header-logo: 132px; --header-logo-mobile: 96px; }
[data-logo-size="large"] { --header-logo: 108px; --header-logo-mobile: 76px; }
[data-logo-size="standard"] { --header-logo: 56px; --header-logo-mobile: 47px; }
[data-logo-size="xl"] { --header-logo: 132px; --header-logo-mobile: 96px; }
.site-header .header-inner { padding-block: 12px; }
.site-header .brand img {
  width: var(--header-logo);
  height: var(--header-logo);
  object-fit: contain;
}
@media (max-width: 760px) {
  .site-header .brand img { width: var(--header-logo-mobile); height: var(--header-logo-mobile); }
}
@media (max-width: 390px) {
  .site-header .header-inner { column-gap: 8px; row-gap: 8px; }
  .site-header .header-inner nav { margin-top: 0; }
}

/* Panoramic storefront introduction in immersive mode. */
html[data-motion="immersive"][data-crop="cover"] .hero { padding: 0; }
html[data-motion="immersive"][data-crop="cover"] .hero-grid {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: clamp(520px, 68svh, 760px);
  display: grid;
  grid-template: "intro" 1fr / minmax(0, 1fr);
}
html[data-motion="immersive"][data-crop="cover"] .hero-copy {
  grid-area: intro;
  position: relative;
  z-index: 1;
  align-items: center;
  align-self: center;
  padding: 48px 24px 80px;
  text-align: center;
  color: #fffaf2;
  pointer-events: none;
}
html[data-motion="immersive"][data-crop="cover"] .hero-copy :is(em, .kicker, .hero-intro, .text-link) { color: inherit; }
html[data-motion="immersive"][data-crop="cover"] .hero-copy .actions { justify-content: center; pointer-events: auto; }
html[data-motion="immersive"][data-crop="cover"] .hero-copy .kicker span:first-child { background: currentColor; }
html[data-motion="immersive"][data-crop="cover"] .hero-photo {
  grid-area: intro;
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
}
html[data-motion="immersive"][data-crop="cover"] .hero-photo .gallery-media { border-radius: 0; }
html[data-motion="immersive"][data-crop="cover"] .hero-photo picture {
  overflow: hidden;
  position: relative;
}
html[data-motion="immersive"][data-crop="cover"] .hero-photo picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0f2235a6, #101c29b3 50%, #0f2235a6);
  pointer-events: none;
}
@media (max-width: 760px) {
  html[data-motion="immersive"][data-crop="cover"] .hero-grid { min-height: clamp(500px, 72svh, 640px); }
  html[data-motion="immersive"][data-crop="cover"] .hero-copy { padding-bottom: 106px; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html[data-motion="immersive"][data-crop="cover"] .hero-photo img:not([data-framed]) {
      animation: panoramic-travel linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    html[data-motion="immersive"][data-crop="cover"] .hero-copy {
      animation: panoramic-title linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    html[data-motion="immersive"][data-crop="cover"] .hero-copy:focus-within { animation: none; }
  }
}
@keyframes panoramic-travel {
  from { transform: scale(1.13) translateY(-4%); }
  to { transform: scale(1.13) translateY(4%); }
}
@keyframes panoramic-title {
  0%, 22% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(-52px); opacity: .15; }
}

.header-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--green);
}
html[data-background="custom"] .social-icon { color: var(--custom-ink, var(--ink)); }
.social-icon:hover, html[data-background="custom"] .social-icon:hover { color: var(--white); background: var(--green); }
.social-icon svg { width: 22px; height: 22px; }
.footer-legal { font-size: .9rem; text-underline-offset: 4px; }
.social-feed { padding-block: clamp(42px, 7vw, 92px); background: var(--paper); color: var(--ink); }
.social-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 24px; }
.social-network { display: grid; align-content: start; gap: 14px; padding: clamp(16px, 3vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.social-posts { display: grid; gap: 12px; }
.social-posts:empty { display: none; }
.social-post { min-width: 0; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }
.social-post img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 4px; }
.social-post time { font-size: .85rem; color: var(--muted); }
.social-post p { white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1120px) and (min-width: 761px) {
  .site-header nav { gap: 8px 18px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 760px) {
  .site-header .header-visit { display: none; }
}
@media (max-width: 600px) {
  .social-columns { grid-template-columns: 1fr; gap: 14px; }
}
