/*
Theme Name: Sensitive Mood
Version: 0.1.17
Requires at least: 5.2
Text Domain: sensitive-mood
*/
@font-face {
  font-family: 'Bodoni Moda Studio';
  src: url('assets/bodoni-moda-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Studio';
  src: url('assets/source-sans-3-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda Studio';
  src: url('assets/bodoni-moda-latin-400-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #efe7dc;
  --gold: #c79a4b;
  --ink: #162d23;
  --muted: #595c50;
  --olive: #132d24;
  --pale: #e5ddcf;
  --line: #ccc5b4;
  --serif: 'Baskerville', 'Palatino Linotype', Georgia, serif;
  --accent-serif: 'Bodoni Moda Studio', var(--serif);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; inline-size: 100%; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
figure { position: relative; }
figcaption { position: absolute; inset: auto 0 0 auto; padding: .3rem .6rem; color: #fff; background: var(--olive); font-size: .8rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #865626; outline-offset: 4px; }
section { scroll-margin-top: 1rem; }
.shell { width: min(100% - 5rem, 1280px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 2; padding: .5rem 1rem; background: white; }
.skip:focus { top: 1rem; }
.header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 83px; gap: 1.5rem; }
.wordmark { display: inline-flex; flex: none; padding-block: .4rem; }
.wordmark img { width: 112px; height: auto; }
nav, .footer-row > div { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.85rem); }
nav a { text-decoration: none; font-size: .92rem; font-weight: 550; }
nav a:hover { text-decoration: underline; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.3rem; background: var(--olive); color: white; border: 1px solid var(--olive); border-radius: 2px; text-decoration: none; font-size: .94rem; font-weight: 600; text-align: center; }
.button:hover { background: #274237; }
.button.compact { min-height: 43px; }
.button.outline { background: transparent; color: var(--olive); }
.button.outline:hover { background: var(--pale); }
.hero { padding-block: 1.75rem 2.1rem; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; }
.hero-copy { padding: 2.9rem clamp(1.65rem, 5vw, 4.25rem) 2.9rem 0; }
.label { color: #485447; text-transform: uppercase; letter-spacing: .15em; font-size: .875rem; font-weight: 650; margin-bottom: 1.25rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .99; letter-spacing: -.055em; }
h1 { font-size: clamp(3.4rem, 6.35vw, 6.45rem); }
h2 { font-size: clamp(3rem, 5.5vw, 5.3rem); }
h1 em, h2 em { color: var(--olive); font-family: var(--accent-serif); font-weight: inherit; }
h3 { font: 1.62rem/1.15 var(--serif); }
.intro { margin: 1.55rem 0 1.7rem; max-width: 37ch; color: var(--muted); font-size: 1.13rem; }
.hero-figure img { height: clamp(470px, 44vw, 620px); object-position: center 60%; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.gifts { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gift-details { display: grid; align-content: center; gap: 1.35rem; }
.gift-details p, .workshop-option p, .inquiry p { color: var(--muted); margin-top: .4rem; max-width: 49ch; }
.engraving-photo { max-width: 31rem; aspect-ratio: 4 / 3; object-position: center 54%; margin-top: 1rem; }
.text-link { font-weight: 650; text-decoration: underline; text-underline-offset: .23em; width: fit-content; }
.workshops { background: var(--pale); padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.workshop-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.25rem, 5vw, 5rem); align-items: center; }
.workshop-option { border-top: 1px solid #b9c0ad; padding-top: .9rem; margin-top: 1.4rem; }
.workshop-option p { margin-bottom: .45rem; }
.shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product { text-decoration: none; display: block; border: 1px solid var(--line); }
.product img { aspect-ratio: 1.32; background: #e8e5da; }
.product div { padding: 1rem 1.1rem; }
.product span { display: inline-block; margin-top: .45rem; font-size: .9rem; }
.product:hover { border-color: var(--olive); }
.inquiry { background: var(--pale); padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.inquiry h2 { margin-bottom: 1.1rem; }
form { display: grid; gap: .9rem; }
form .button { justify-self: start; }
label { display: grid; gap: .25rem; font-size: .92rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 44px; background: var(--paper); color: var(--ink); border: 1px solid #777b6e; border-radius: 2px; padding: .45rem .6rem; }
textarea { resize: vertical; }
form .demo { font-size: .875rem; margin-top: 0; }
#form-status { padding: .65rem .8rem; border-left: 3px solid var(--olive); background: var(--paper); }
footer { background: var(--olive); color: var(--paper); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-block: 2.4rem; }
.studio-address { font-style: normal; }
.upcoming-workshops .studio-address { margin-bottom: .9rem; }
@media(max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .header-quote { display: none; }
  nav { gap: 1.15rem; }
  .hero-figure img { height: clamp(385px, 55vw, 500px); }
  h1 { font-size: clamp(2.9rem, 7vw, 4.4rem); }
}
@media(max-width: 630px) {
  .shell { width: calc(100% - 2rem); }
  .header-row { min-height: 64px; flex-wrap: wrap; gap: 0; }
  .wordmark img { width: 88px; }
  .menu-toggle { display: block; min-height: 44px; background: transparent; color: var(--olive); border: 0; padding: .45rem; font-weight: 600; }
  nav { display: none; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: .5rem; }
  nav.open { display: flex; }
  nav a { padding: .65rem 0; border-top: 1px solid var(--line); }
  .hero { padding-top: 0; }
  .hero-grid, .gifts, .workshop-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.7rem 0 1.75rem; }
  h1 { font-size: clamp(2.85rem, 10.8vw, 4.5rem); }
  h2 { font-size: clamp(2.75rem, 10vw, 4.4rem); }
  .hero-figure img { height: auto; aspect-ratio: 1.13; }
  .shop-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product { display: grid; grid-template-columns: minmax(100px, .8fr) 1fr; align-items: center; }
  .product img { aspect-ratio: 1.2; height: 100%; }
  .product h3 { font-size: 1.4rem; }
  .product div { padding: .7rem; }
  .footer-row { flex-wrap: wrap; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Gift-led homepage */
.header-row { min-height: 76px; }
.hero { background: var(--olive); color: var(--paper); padding-block: 0; }
.hero-grid { grid-template-columns: 1fr 1.03fr; min-height: clamp(460px, 42vw, 630px); }
.hero-copy { padding-block: clamp(2.75rem, 6vw, 5rem); }
.hero .label, .hero h1 em { color: var(--gold); }
.hero-materials { text-transform: none; letter-spacing: .015em; font-size: 1rem; font-weight: 500; }
.hero h1 { font-size: clamp(3.4rem, 5.9vw, 6.2rem); }
.hero .intro { color: #e4d9cc; max-width: 45ch; }
.hero .button { background: var(--paper); border-color: var(--paper); color: var(--olive); }
.hero .button:hover { background: #e5ddcf; }
.hero a:focus-visible { outline-color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.hero-figure { height: 100%; }
.hero-figure img { height: 100%; position: absolute; inset: 0; }
.gift-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 2rem; }
.gift-heading p, .engraving-feature p:not(.label) { color: var(--muted); max-width: 39ch; }
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.gift-grid article { display: grid; grid-template-rows: auto 1fr auto; gap: .8rem; padding: 1.25rem 1rem 1.4rem; }
.gift-grid article + article { border-left: 1px solid var(--line); }
.gift-grid article p { color: var(--muted); }
.gift-grid .custom-card { background: #e7ebdc; }
.gift-grid .text-link { font-size: .89rem; }
.engraving-feature { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); margin-top: clamp(3rem, 8vw, 7rem); }
.engraving-feature .engraving-photo { max-width: none; margin: 0; aspect-ratio: 1.24; }
.engraving-feature p:not(.label) { margin: 1rem 0; }
#gift-interest { margin: 0; }
@media(max-width: 850px) {
  .hero h1 { font-size: clamp(2.85rem, 6.8vw, 4.5rem); }
  .hero-figure img { min-height: 0; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-grid article:nth-child(3) { border-left: 0; }
  .gift-grid article:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media(max-width: 630px) {
  .hero-grid, .engraving-feature { grid-template-columns: 1fr; }
  .hero-grid { width: 100%; min-height: 0; }
  .hero-copy { padding: 2.6rem 1rem 1.85rem; }
  .hero-figure img { position: static; height: auto; }
  .gift-heading { align-items: start; flex-direction: column; }
  .engraving-feature img { grid-row: 2; }
}
@media(max-width: 380px) {
  .gift-grid { grid-template-columns: 1fr; }
  .gift-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
}

.bulk-note { max-width: 43ch; margin-top: .85rem; color: #e4d9cc; font-size: .92rem; }

.workshop-catalog { margin-top: clamp(2.75rem, 6vw, 5rem); }
.workshop-catalog > h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 1.25rem; }
.workshop-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .85rem; }
.workshop-card { display: grid; grid-template-rows: auto 1fr auto auto; gap: .65rem; padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); }
.workshop-card h4 { margin: 0; font: 1.56rem/1.15 var(--serif); }
.workshop-card > p { color: var(--muted); }
.workshop-facts { display: flex; flex-wrap: wrap; gap: .25rem .7rem; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .875rem; }
.workshop-facts strong { color: var(--ink); }
.workshop-card .text-link { font-size: .9rem; }

.bouquet-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.4rem, 5vw, 4.5rem); background: var(--olive); color: var(--paper); margin-top: clamp(2rem, 5vw, 4.5rem); }
.bouquet-feature > div { padding: clamp(1.25rem, 4vw, 4.1rem); }
.bouquet-feature .label { color: var(--gold); }
.bouquet-feature p:not(.label) { margin: 1rem 0 1.35rem; color: var(--paper); max-width: 42ch; }
body.sm-studio #bouquets .button { background: var(--paper); border-color: var(--paper); color: var(--olive); }
body.sm-studio #bouquets .button:hover { background: var(--pale); border-color: var(--pale); }
body.sm-studio #bouquets .button:focus-visible { outline-color: var(--gold); }
.bouquet-feature img { aspect-ratio: 1.24; object-position: center 57%; }
@media(max-width: 630px) { .bouquet-feature { grid-template-columns: 1fr; gap: 0; } }

.owner { border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 6rem); }
.owner-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.25rem, 6vw, 6rem); }
.owner-portrait { height: auto; max-width: 29rem; }
.owner-intro, .owner-story { max-width: 49ch; margin-top: 1.25rem; color: var(--muted); font-size: 1.07rem; }
.owner-story p + p { margin-top: .9rem; }
.owner-details { margin-top: 1.15rem; }
.owner-details summary { cursor: pointer; list-style: none; }
.owner-details summary::-webkit-details-marker { display: none; }
.owner-details:not([open]) .owner-read-less,
.owner-details[open] .owner-read-more { display: none; }
.owner-details.has-bottom-close[open] summary { display: none; }
.owner-close { margin-top: 1.15rem; }
@media(max-width: 630px) {
  .owner-grid { grid-template-columns: 1fr; }
  .owner-copy { grid-row: 1; }
}

.workshop-browse { margin-top: 1.15rem; }
.workshop-catalog > h3 { margin-bottom: .45rem; }
.workshop-catalog-note { color: var(--muted); margin-bottom: 1.25rem; }

.hero .hero-personal { background: transparent; color: var(--paper); }
.hero .hero-personal:hover { background: #274237; }
.hero-actions { gap: .65rem; }
#gifts { padding-bottom: clamp(2.5rem, 4vw, 4rem); }
#gifts .engraving-feature { margin-top: clamp(2rem, 4.5vw, 4rem); }
.owner { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.owner-portrait { max-width: 22rem; }
#bouquets .bouquet-feature img { aspect-ratio: 1.48; }
@media(max-width: 630px) {
  .hero-actions .button { min-height: 46px; }
}

.hero-figure img { object-position: center 48%; }

.gift-edit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.7rem, 7vw, 6rem); align-items: center; }
.gift-edit-intro, .workshop-intro p { color: var(--muted); margin-top: 1rem; }
.gift-photo-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.4rem, 1vw, .8rem); }
.gift-photo-set img { aspect-ratio: 3 / 4; object-position: center; background: var(--pale); }
.gift-photo-set .gift-dk-candle { object-position: center 62%; }
.gift-photo-set figcaption { position: static; margin-top: .45rem; padding: 0; color: var(--ink); background: transparent; font: 1rem/1.25 var(--serif); }
.gift-own a { display: block; color: var(--olive); text-decoration-color: var(--gold); }
.gift-own span { display: block; margin-top: .45rem; font: 1rem/1.25 var(--serif); }
.gift-edit-intro { max-width: 42ch; }
.gift-edit-link { display: inline-block; margin-top: 1.25rem; }

.past-orders {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(.85rem, 2.5vw, 2rem);
  background-color: var(--olive);
  color: var(--paper);
}
.past-orders-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.past-orders-quote { grid-area: 1 / 2; align-self: center; font-size: .95rem; }
.past-order {
  display: grid;
  grid-template-columns: clamp(4.25rem, 8vw, 6rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 1.7vw, 1.4rem);
  padding: clamp(.85rem, 1.7vw, 1.4rem);
  border: 1px solid #a6b59f;
  background-color: #e7ebdf;
  color: var(--ink);
}
.past-order-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 60%; }
.reel-thumbnail { overflow: hidden; }
.reel-thumbnail img { width: 145%; max-width: none; height: auto; margin-left: -22.5%; }
.past-order p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.38; }
.past-order .past-order-client { margin-bottom: .22rem; color: var(--ink); font-weight: 600; }
.past-order h4 + p { margin-top: .35rem; }
@media (max-width: 700px) {
  .past-orders, .past-orders-grid { grid-template-columns: 1fr; }
  .past-orders-quote { grid-area: auto; justify-self: start; }
}
.workshop-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.workshop-catalog { margin-top: 1.6rem; border-block: 1px solid #b9c0ad; }
.workshop-catalog summary { cursor: pointer; padding: .8rem 0; font-weight: 650; }
.workshop-cards { display: block; padding-bottom: .5rem; }
.workshop-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.25rem; border: 0; border-top: 1px solid #c8cdbf; background: transparent; padding: .85rem 0; }
.workshop-facts { padding: 0; border: 0; }
.workshop-card .text-link { justify-self: end; }
@media(max-width: 630px) {
  .gift-edit { grid-template-columns: 1fr; }
  .workshop-card { grid-template-columns: 1fr; gap: .3rem; }
  .workshop-card .text-link { justify-self: start; }
}

.workshop-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem clamp(1rem, 6vw, 5rem); margin-top: 1.75rem; }
.workshop-paths > article { border-top: 1px solid #b9c0ad; padding-top: 1rem; }
.workshop-paths .workshop-catalog { margin: 1rem 0; }
.workshop-catalog .workshop-card { grid-template-columns: 1fr auto; gap: .3rem .75rem; }
.workshop-catalog .workshop-facts { justify-content: end; margin: 0; }
.workshop-catalog .workshop-card .text-link { grid-column: 1 / -1; justify-self: start; }
.catalog-cta { margin: .45rem 0 1rem; }
@media(max-width: 850px) {
  .workshop-catalog .workshop-card { grid-template-columns: 1fr; }
  .workshop-catalog .workshop-facts { justify-content: start; }
}
.workshop-paths p, .catalog-intro, .upcoming-workshops > p:not(.label) { color: var(--muted); margin: .55rem 0 .85rem; }
.workshop-paths .travel-note { font-size: .9rem; }
#workshop-gifts { display: flex; align-items: center; gap: .65rem; }
#workshop-gifts input { flex: none; width: 1.15rem; min-height: 1.15rem; accent-color: var(--olive); }
.upcoming-workshops { min-height: 65vh; }
.upcoming-workshops .button { margin-top: .55rem; }
.date-request { margin-block: 1.1rem; }
.date-request summary { cursor: pointer; list-style: none; }
.date-request summary::-webkit-details-marker { display: none; }
.date-request[open] > p { margin-block: .85rem; max-width: 48ch; }
.date-request form { max-width: 27rem; }
.date-request-message { max-width: 48ch; margin-block: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: var(--pale); }
#gallery {
  padding: clamp(1rem, 3vw, 2.5rem);
  background: var(--olive);
  color: var(--paper);
}
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.35rem; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(10rem, 27vw, 18rem); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .2rem; padding: .3rem .2rem .65rem; }
.gallery-track a { display: block; scroll-snap-align: start; text-decoration: none; }
.gallery-caption { display: block; padding-top: .45rem; font-size: .95rem; line-height: 1.3; }
.gallery-track a:is(:hover, :focus-visible) .gallery-caption { text-decoration: underline; }
.gallery-track img { aspect-ratio: 1; background: var(--pale); }
.gallery-controls, .gallery-dialog-controls { display: flex; align-items: center; gap: .6rem; }
.gallery-controls button, .gallery-dialog button { border: 1px solid currentColor; background: transparent; color: inherit; padding: .5rem .8rem; }
.gallery-controls button:disabled { opacity: .45; cursor: default; }
.gallery-dialog { border: 0; background: var(--olive); color: var(--paper); padding: .7rem; max-width: 92vw; max-height: 96dvh; }
#gallery button:enabled:hover { background: var(--paper); color: var(--olive); }
#gallery :is(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery-dialog::backdrop { background: #1b211bea; }
.gallery-viewer { display: grid; gap: .55rem; justify-items: center; }
.gallery-viewer > img { width: auto; max-width: min(85vw, 64rem); height: auto; max-height: 72dvh; object-fit: contain; }
.gallery-close { justify-self: end; }
.gallery-dialog-controls { flex-wrap: wrap; justify-content: center; }
.gallery-current-caption { max-width: 48ch; margin: 0; text-align: center; line-height: 1.3; }
@media(max-width: 630px) { .workshop-paths { grid-template-columns: 1fr; } }

.reviews { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.7rem, 6vw, 5rem); }
.reviews .button { margin-top: 1.2rem; }
.review-quotes { display: grid; gap: 1rem; }
.review-quotes figure { border-top: 1px solid var(--line); padding-top: .8rem; }
.review-quotes blockquote { margin: 0; font: 1.38rem/1.3 var(--serif); }
.review-quotes figcaption { position: static; padding: 0; margin-top: .4rem; color: var(--muted); background: transparent; }
@media(max-width: 630px) { .reviews { grid-template-columns: 1fr; } }


/* The two studio pages set their own type scale inside WordPress. */
body.sm-studio {
  --serif: 'Bodoni Moda Studio', Georgia, serif;
  --sans: 'Source Sans Studio', system-ui, sans-serif;
  font: 400 1.0625rem/1.55 var(--sans);
  color: var(--ink);
  background-color: var(--paper);
}
body.sm-studio :is(main, .header, footer) a { color: inherit; }
body.sm-studio main :is(h1, h2, h3, h4) {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  text-wrap: balance;
}
body.sm-studio main h1 {
  font-size: clamp(2.55rem, 5.15vw, 4.7rem);
  letter-spacing: -.038em;
  line-height: 1.09;
}
body.sm-studio main h2 {
  font-size: clamp(2.12rem, 3.85vw, 3.65rem);
  letter-spacing: -.035em;
  line-height: 1.12;
}
body.sm-studio main :is(h1, h2) em {
  color: inherit;
  font: italic 400 .98em/1 var(--serif);
  letter-spacing: -.025em;
}
body.sm-studio main .hero h1 em { color: var(--gold); }
body.sm-studio main :is(h3, h4) {
  font-size: clamp(1.28rem, 1.85vw, 1.65rem);
  letter-spacing: -.018em;
  line-height: 1.2;
}
body.sm-studio main .workshop-card h4 { font-size: 1.25rem; }
body.sm-studio :is(main, .header, footer) :is(button, input, select, textarea, .button, .text-link, label, nav a) {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: normal;
}
body.sm-studio :is(main, .header) .button {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  color: var(--paper);
}
body.sm-studio :is(main, .header) .button.outline,
body.sm-studio main .hero .button { color: var(--olive); }
body.sm-studio .hero .button.outline.hero-personal { color: var(--paper); }
body.sm-studio .hero .button.outline.hero-workshops {
  gap: .6rem;
  color: var(--paper);
  background: transparent;
  border-color: var(--gold);
}
body.sm-studio .hero .button.outline.hero-workshops:hover { background: #274237; }
.hero-workshops span { color: var(--gold); }
body.sm-studio :is(main, .header) :is(.text-link, .gift-own a) { color: var(--olive); }
.sm-studio #corporate-gift-example .past-orders-quote { color: var(--paper); }
.past-orders-quote:focus-visible { outline-color: var(--gold); }
body.sm-studio .header nav a { color: var(--ink); }
body.sm-studio .text-link { text-decoration: underline; }
body.sm-studio main .hero-materials { font-size: 1rem; }
body.sm-studio .hero .intro { max-width: 46ch; font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.52; }
.hero .intro p + p { margin-top: .45em; }
body.sm-studio .gift-edit-intro { max-width: 48ch; margin-top: .8rem; }
body.sm-studio .gift-edit h2 + p { margin-top: 1.3rem; }
body.sm-studio .gift-photo-set :is(figcaption, .gift-own span) {
  margin-top: .4rem;
  font: 500 .98rem/1.3 var(--sans);
  color: var(--ink);
}
body.sm-studio .gift-own a { text-decoration: underline; text-decoration-color: var(--gold); }
body.sm-studio .review-quotes blockquote { font: 400 1.25rem/1.45 var(--serif); }
@media (max-width: 630px) {
  body.sm-studio main h1 { font-size: clamp(2.5rem, 10.2vw, 3.45rem); }
  body.sm-studio main h2 { font-size: clamp(2.12rem, 8.5vw, 2.8rem); }
  body.sm-studio .gift-photo-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
}

/* Phone layout: a photographic opening, distinct services and a single-column form. */
@media (max-width: 630px) {
  body.sm-studio {
    --phone-gutter: clamp(1.25rem, 5.3vw, 1.75rem);
    --section-space: clamp(2.75rem, 10vw, 3.75rem);
  }
  .sm-studio .shell { width: calc(100% - 2 * var(--phone-gutter)); }
  .sm-studio .header-row { min-height: 64px; }
  .sm-studio .section,
  .sm-studio :is(.owner, .workshops, .inquiry) { padding-block: var(--section-space); }

  .sm-studio .hero-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 1.55rem;
    isolation: isolate;
  }
  .sm-studio .hero-copy { display: contents; }
  .sm-studio .hero-figure,
  .sm-studio .hero h1,
  .sm-studio .hero-materials { grid-area: 1 / 1; }
  .sm-studio .hero-figure { align-self: stretch; min-height: clamp(14.5rem, 59vw, 19rem); }
  .sm-studio .hero-figure img { position: absolute; width: 100%; height: 100%; object-position: 50% 45%; }
  .sm-studio .hero-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 30, 23, .63), transparent 100%),
                linear-gradient(0deg, rgba(12, 30, 23, .95), rgba(12, 30, 23, .35) 74%, rgba(12, 30, 23, .66));
  }
  .sm-studio .hero h1,
  .sm-studio .hero-materials { position: relative; z-index: 1; }
  body.sm-studio .hero .hero-materials {
    align-self: start;
    margin: 1.35rem var(--phone-gutter) 0;
    color: var(--paper);
    font-size: .97rem;
  }
  body.sm-studio .hero h1 {
    align-self: end;
    margin: 0 var(--phone-gutter) 1.15rem;
    font-size: clamp(2.4rem, 10.2vw, 3.6rem);
  }
  body.sm-studio .hero .intro {
    margin: 1.35rem var(--phone-gutter) 1.05rem;
    font-size: 1.045rem;
  }
  .sm-studio .hero-actions {
    margin-inline: var(--phone-gutter);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    align-items: stretch;
  }
  .sm-studio .hero-actions .button { min-height: 3.2rem; padding: .55rem .6rem; text-wrap: balance; }
  .sm-studio .hero-actions .hero-workshops { grid-column: 1 / -1; min-height: 2.8rem; }
  .sm-studio .bulk-note { margin: .85rem var(--phone-gutter) 0; }
  .sm-studio .gift-edit { gap: 1.5rem; }
  .sm-studio .gift-edit-intro strong { color: var(--ink); }
  .sm-studio .gift-edit-intro:has(strong):last-of-type {
    border-left: 2px solid var(--gold);
    padding-left: .85rem;
    margin-top: 1.2rem;
  }
  .sm-studio .gift-photo-set img { aspect-ratio: 1 / 1; }
  .sm-studio .owner { background: var(--pale); }
  .sm-studio .owner-grid { gap: 1.6rem; }
  .sm-studio .owner-portrait { width: min(100%, 22rem); justify-self: center; }
  .sm-studio .workshops { background: var(--paper); }
  .sm-studio .workshop-paths { gap: 1rem; }
  .sm-studio .workshop-paths > article {
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid var(--line);
  }
  .sm-studio .workshop-paths > article + article {
    background: var(--pale);
    border-top: 2px solid var(--gold);
  }
  .sm-studio .workshop-catalog summary { min-height: 44px; }
  .sm-studio .workshop-card { grid-template-rows: auto; }
  .sm-studio .workshop-facts { justify-content: start; }
  .sm-studio .bouquet-feature { margin-top: 0; }
  .sm-studio .bouquet-feature > img { grid-row: 1; }
  .sm-studio .bouquet-feature > div { padding: 1.4rem 1.2rem 1.55rem; }
  .sm-studio .bouquet-feature .label {
    text-transform: none;
    letter-spacing: .03em;
    margin-bottom: .45rem;
  }
  .sm-studio .gallery-track { grid-auto-columns: min(72vw, 19rem); }
  .sm-studio .gallery-controls button { min-height: 44px; }
  .sm-studio .inquiry {
    color: var(--paper);
    background: var(--olive);
  }
  .sm-studio .inquiry .label { color: var(--gold); }
  .sm-studio .inquiry p { color: var(--paper); }
  .sm-studio .inquiry-grid { gap: 1.5rem; }
  .sm-studio #inquiry-form {
    min-width: 0;
    padding: 1.1rem;
    gap: 1rem;
    background: var(--paper);
    color: var(--ink);
  }
  .sm-studio #inquiry-form p { color: var(--ink); }
  .sm-studio #inquiry-form .field-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .sm-studio #inquiry-form :is(input, select, textarea) { font-size: 1rem; }
  .sm-studio #inquiry-form .button { justify-self: stretch; }
  .sm-studio .footer-row { border-top: 1px solid var(--gold); }
}
@media (max-width: 350px) {
  .sm-studio .hero-figure { min-height: 13rem; }
  body.sm-studio .hero .intro { margin-block: .9rem .75rem; font-size: 1rem; line-height: 1.42; }
  .sm-studio .hero-actions .button { padding-inline: .35rem; }
}

/* The studio's motion uses the existing paper, ink and gold. */
.sm-studio {
  --studio-ease: cubic-bezier(.22, .7, .25, 1);
  --studio-reveal: 580ms;
  --studio-step: 55ms;
}
.sm-studio :is(.owner, .workshops) {
  background-image: url('assets/studio-paper.png');
  background-size: 96px 96px;
}
.engraved-signature { position: relative; }
.engraved-signature svg {
  position: absolute;
  left: 5%;
  bottom: -.12em;
  width: 84%;
  height: .16em;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-linecap: round;
}
.engraved-signature path { vector-effect: non-scaling-stroke; }
.sm-studio :is(.hero-figure, .studio-product-image) { overflow: hidden; }
.sm-studio .product > .studio-product-image { display: block; align-self: stretch; min-width: 0; margin: 0; }

.sm-studio :is(.button, .product, .menu-toggle, .gallery-controls button, .gallery-dialog button, .workshop-catalog summary):focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--paper);
}
.sm-studio .hero .button:focus-visible { outline-color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes studio-arrive {
    from { opacity: .78; transform: translateY(var(--studio-rise, 6px)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes studio-etch {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
  .hero.motion-opening :is(.hero-materials, h1, .intro p),
  .sm-studio .motion-arrive {
    animation: studio-arrive var(--studio-reveal) var(--studio-ease) backwards;
    animation-delay: calc(var(--studio-order, 0) * var(--studio-step));
  }
  .hero.motion-opening h1 { --studio-order: 1; }
  .hero.motion-opening .intro p { --studio-order: 2; }
  .hero.motion-opening .intro p + p { --studio-order: 3; }
  .motion-arrive .engraved-signature path {
    stroke-dasharray: 1;
    animation: studio-etch 820ms var(--studio-ease) 90ms backwards;
  }
  .sm-studio :is(.button, .menu-toggle, .gallery-controls button, .gallery-dialog button, .workshop-catalog summary) {
    transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 140ms var(--studio-ease);
  }
  .sm-studio :is(.button, .menu-toggle, .gallery-controls button, .gallery-dialog button, .workshop-catalog summary):not(:disabled):active {
    transform: translateY(1px);
  }
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    @keyframes studio-gold {
      from { color: transparent; background-position: 100% 50%; }
      to { color: transparent; background-position: 0% 50%; }
    }
    .sm-studio .hero.motion-opening h1 em {
      background-color: var(--gold);
      background-image: linear-gradient(105deg, var(--gold) 39%, var(--paper) 50%, var(--gold) 61%);
      background-size: 260% 100%;
      background-position: 0% 50%;
      -webkit-background-clip: text;
      background-clip: text;
      animation: studio-gold 950ms ease-in-out 450ms;
    }
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  @keyframes studio-settle {
    from { transform: scale(1.018); }
    to { transform: none; }
  }
  .hero.motion-opening .hero-figure img { animation: studio-settle 1.45s var(--studio-ease); }
  .sm-studio .product { transition: border-color 200ms ease-out; }
  .sm-studio .studio-product-image img { transition: transform 420ms var(--studio-ease); }
  .sm-studio .product:is(:hover, :focus-visible) .studio-product-image img { transform: scale(1.025); }
  .sm-studio .button:not(:disabled):hover:not(:active) { transform: translateY(-1px); }
}
@media (max-width: 630px) {
  .sm-studio { --studio-rise: 3px; --studio-step: 40ms; --studio-reveal: 440ms; }
}
@media (forced-colors: active) {
  .sm-studio :is(.owner, .workshops) { background-image: none; }
  .engraved-signature svg { display: none; }
}
