:root {
  --legal-ink: #171715;
  --legal-paper: #f3efe7;
  --legal-clay: #9b5947;
}

.footer-links {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.footer-links .footer-link-secondary {
  font-size: .82em;
  opacity: .72;
}

.footer-links .privacy-settings-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.footer-links .privacy-settings-button:hover { color: var(--legal-clay); }

.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  width: min(560px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(23,23,21,.97);
  color: #fff;
  box-shadow: 0 16px 45px rgba(0,0,0,.28);
  font-family: "Jost", Arial, sans-serif;
  line-height: 1.55;
}

.consent-banner[hidden] { display: none; }
.consent-banner h2 { margin: 0 0 7px; font: 500 1.25rem/1.2 "Playfair Display", Georgia, serif; }
.consent-banner p { margin: 0; font-size: .9rem; }
.consent-banner a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.consent-actions button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: 500 .78rem/1 "Jost", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.consent-actions button[data-consent="accept"] { background: #fff; color: #171715; }

.media-consent-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(23,23,21,.25);
  background: rgba(243,239,231,.88);
  text-align: center;
  font-family: "Jost", Arial, sans-serif;
}
.media-consent-placeholder[hidden] { display: none !important; }
.media-consent-placeholder button {
  margin-top: 12px;
  padding: 10px 15px;
  border: 1px solid #171715;
  background: #171715;
  color: #fff;
  cursor: pointer;
}

body.legal-page {
  margin: 0;
  color: var(--legal-ink);
  background: #d8d2c8 url("site-backdrop.webp") center top / cover fixed;
  font-family: "Jost", Arial, sans-serif;
  font-weight: 300;
}
.legal-shell { width: min(940px, calc(100% - 32px)); margin: 34px auto; }
.legal-card { padding: clamp(24px, 5vw, 64px); background: rgba(243,239,231,.96); border: 1px solid rgba(23,23,21,.3); box-shadow: 0 18px 55px rgba(0,0,0,.16); }
.legal-brand { display: block; width: min(290px, 72vw); margin: 0 auto 28px; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0 0 34px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-nav a, .legal-card a { color: inherit; }
.legal-card h1, .legal-card h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.legal-card h1 { margin: 0 0 7px; font-size: clamp(2rem, 5vw, 3.8rem); }
.legal-card h2 { margin: 36px 0 10px; font-size: 1.45rem; }
.legal-card p, .legal-card li { line-height: 1.75; }
.legal-card li + li { margin-top: 7px; }
.legal-status { margin: 0 0 30px; color: #6e3124; font-weight: 500; }
.legal-warning { margin: 26px 0; padding: 17px 19px; border-left: 4px solid var(--legal-clay); background: rgba(155,89,71,.1); }
.legal-meta { margin-top: 38px; font-size: .86rem; }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; padding: 22px 5px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-footer a, .legal-footer button { color: inherit; }
.legal-footer button { border: 0; padding: 0; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }

@media (max-width: 650px) {
  .consent-banner { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  .consent-actions { display: grid; }
  .legal-shell { width: min(100% - 18px, 940px); margin: 9px auto; }
  .legal-card { padding: 24px 18px; }
}

/* Legal documents use the same visual system as the rest of the website. */
body.legal-document-page {
  --cream: #fdfcf7;
  --ink: #100f0d;
  --ink-soft: #46433c;
  --stone: #85806f;
  --clay: #a97b5a;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.legal-document-page * { box-sizing: border-box; }
.legal-document-page .site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("site-backdrop.webp") center / cover no-repeat;
}
.legal-document-page .site-frame { min-height: 100vh; }
.legal-document-page a { color: inherit; }
.legal-document-page .site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(28,26,22,.12);
  position: relative;
}
.legal-document-page .wordmark { display: inline-flex; align-items: center; }
.legal-document-page .wordmark img {
  height: clamp(105px, 13.5vw, 165px);
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(255,255,255,.9)) drop-shadow(0 2px 14px rgba(0,0,0,.3));
}
.legal-document-page .main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(16,15,13,.6);
  border-radius: 999px;
}
.legal-document-page .main-nav a {
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.legal-document-page .main-nav a:hover,
.legal-document-page .main-nav a[aria-current="page"] { border-color: var(--clay); }
.legal-document-page .nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  border: 1px solid #fff;
  background: rgba(16, 15, 13, 0.5);
  color: #fff;
  cursor: pointer;
}
.legal-document-page .has-dropdown { position: relative; }
.legal-document-page .creations-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 10px 0;
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
  z-index: 60;
}
.legal-document-page .has-dropdown:hover .creations-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.legal-document-page .creations-item { border-bottom: 1px solid rgba(28,26,22,.12); }
.legal-document-page .creations-item:last-child { border-bottom: 0; }
.legal-document-page .main-nav .creations-heading-link {
  display: block;
  padding: 13px 22px;
  color: var(--ink);
  text-shadow: none;
  white-space: nowrap;
}
.legal-document-page .page-shell {
  max-width: 1100px;
  margin: clamp(24px,4vw,56px) auto;
  padding: clamp(28px,5vw,64px) 0 0;
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: 0 30px 80px rgba(16,15,13,.35);
}
.legal-document-page .section-heading {
  padding: 0 var(--gutter);
  margin-bottom: clamp(28px,4vw,48px);
}
.legal-document-page .section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem,3.4vw,2.6rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.legal-document-page .legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px,7vw,90px);
}
.legal-document-page .legal-content h1,
.legal-document-page .legal-content h2 { font-family: var(--display); font-weight: 400; }
.legal-document-page .legal-content h1 { margin: 0 0 8px; font-size: clamp(1.9rem,4vw,2.8rem); line-height: 1.15; }
.legal-document-page .legal-content h2 { margin: 34px 0 10px; font-size: 1.4rem; }
.legal-document-page .legal-content p,
.legal-document-page .legal-content li { color: var(--ink-soft); line-height: 1.8; }
.legal-document-page .legal-status { margin: 0 0 28px; color: #6e3124; font-weight: 500; }
.legal-document-page .legal-warning { margin: 26px 0; padding: 17px 19px; border-left: 4px solid var(--clay); background: rgba(169,123,90,.12); }
.legal-document-page .site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .06em;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.legal-document-page .footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.legal-document-page .footer-links a { text-decoration: none; }

/* Service image captions and online workshop preview */
.service-quote-hero {
  position: relative;
  overflow: hidden;
}
.service-quote-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover;
  object-position: center;
}
.service-quote-hero figcaption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(26px,5vw,72px);
  max-width: min(560px,48%);
  transform: translateY(-50%);
  color: rgba(255,255,255,.96);
  font: 300 clamp(.88rem,1.5vw,1.18rem)/1.5 "Jost",Arial,sans-serif;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px rgba(0,0,0,.78);
}
.service-back-row {
  padding: 0 clamp(20px,4vw,64px);
  margin: clamp(-24px,-2vw,-14px) 0 clamp(26px,4vw,42px);
}
.service-back-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #171715;
  color: #171715;
  background: transparent;
  font: 500 .72rem/1 "Jost",Arial,sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease,color .2s ease;
}
.service-back-button:hover,
.service-back-button:focus-visible {
  background: #171715;
  color: #fff;
}
.legal-document-page .workshop-content {
  padding: 0 var(--gutter) clamp(56px,7vw,90px);
}
.workshop-kicker {
  margin: 0 0 10px;
  color: #6e3124;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.workshop-hero {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(240px,.55fr);
  gap: clamp(28px,5vw,64px);
  align-items: end;
  padding-bottom: clamp(40px,6vw,72px);
  border-bottom: 1px solid rgba(28,26,22,.22);
}
.workshop-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.5rem,6vw,5.4rem);
  font-weight: 400;
  line-height: .98;
}
.workshop-lead { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.workshop-purchase-card { padding: 28px; border: 1px solid var(--ink); background: #f4efe6; }
.workshop-price { display: block; margin-bottom: 4px; font: 400 clamp(2rem,4vw,3rem)/1 var(--display); }
.workshop-price-note { display: block; margin-bottom: 22px; color: var(--ink-soft); font-size: .82rem; }
.workshop-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  font: 500 .76rem/1 var(--sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.workshop-button:disabled { cursor: not-allowed; opacity: .38; }
.workshop-notice { margin: 14px 0 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.workshop-section { padding-top: clamp(44px,6vw,72px); }
.workshop-section h2 { margin: 0 0 20px; font: 400 clamp(1.7rem,3.4vw,2.6rem)/1.15 var(--display); }
.workshop-section > p { max-width: 700px; color: var(--ink-soft); }
.workshop-module-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.workshop-module { padding: 24px; border: 1px solid rgba(28,26,22,.28); background: #f4efe6; }
.workshop-module span { color: #6e3124; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.workshop-module h3 { margin: 8px 0 4px; font: 400 1.3rem/1.25 var(--display); }
.workshop-module p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.workshop-list { max-width: 720px; padding-left: 20px; color: var(--ink-soft); }
.workshop-list li + li { margin-top: 10px; }
.workshop-modal[hidden] { display: none; }
.workshop-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16,15,13,.72);
}
.workshop-dialog {
  position: relative;
  width: min(620px,100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(26px,5vw,46px);
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.workshop-dialog h2 { margin: 0 42px 4px 0; font: 400 clamp(1.7rem,4vw,2.4rem)/1.1 var(--display); }
.workshop-dialog-price { margin: 0 0 24px; color: #6e3124; font-weight: 500; }
.workshop-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.workshop-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 16px 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.workshop-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.workshop-legal-links { margin: 18px 0; font-size: .8rem; }
.workshop-legal-links a { margin-right: 12px; }
.workshop-demo-message { margin: 15px 0 0; padding: 12px; background: rgba(169,123,90,.14); color: #6e3124; }
.workshop-teaser {
  margin-top: 44px;
  padding: clamp(24px,4vw,42px);
  border: 1px solid rgba(28,26,22,.3);
  background: #f4efe6;
}
.workshop-teaser-label { margin: 0 0 8px; color: #6e3124; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.workshop-teaser h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 400; }
.workshop-teaser p { max-width: 680px; }

@media (max-width: 720px) {
  .legal-document-page .site-header { padding-left: var(--gutter); padding-right: var(--gutter); }
  .legal-document-page .nav-toggle { display: block; position: relative; z-index: 70; margin-left: auto; }
  .legal-document-page .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    flex-direction: column;
    padding: 100px var(--gutter) 40px;
    gap: 26px;
    border-radius: 0;
    background: var(--cream);
    transform: translateY(-110%);
    transition: transform .35s ease;
  }
  .legal-document-page .main-nav.open { transform: translateY(0); }
  .legal-document-page .main-nav a { color: var(--ink); text-shadow: none; }
  .legal-document-page .nav-toggle[aria-expanded="true"] { border-color: var(--ink); color: var(--ink); background: transparent; }
  .legal-document-page .creations-menu { position: static; min-width: 0; margin-top: 10px; padding: 0; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none !important; }
  .legal-document-page .has-dropdown:hover .creations-menu { transform: none !important; }
  .legal-document-page .main-nav .creations-heading-link { padding: 10px 0 10px 16px; }
  .legal-document-page .page-shell {
    margin-left: 12px;
    margin-right: 12px;
  }
  .legal-document-page .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin: 0 12px;
    padding: 28px var(--gutter) 40px;
    background: linear-gradient(180deg, rgba(16, 15, 13, 0) 0%, rgba(16, 15, 13, 0.55) 45%, rgba(16, 15, 13, 0.55) 100%);
  }
  .legal-document-page .footer-links {
    justify-content: center;
    gap: 12px 20px;
  }
  .workshop-hero { grid-template-columns: 1fr; }
  .workshop-module-grid { grid-template-columns: 1fr; }
}
