/* Dear Darling: site-wide adjustments for every screen size, loaded by every page.
   Pages are styled inline, so rules here use !important where they need to override that. */

/* Phones and small tablets, pages with an older header (no .dd-header): logo and "My wedding" on one
   row, the other links wrap onto the rows below, and the header scrolls away. Pages with the shared
   .dd-header get the Lovable phone layout further down (logo + "My wedding" on top, a tab bar below). */
@media (max-width: 860px) {
  header:not(.dd-header) { position: static !important; }
  header:not(.dd-header) > div {
    position: relative;
    flex-wrap: wrap !important;
    min-height: 0 !important;
    padding: 0 16px 6px !important;
    gap: 0 !important;
  }
  header:not(.dd-header) > div > a:first-child {
    display: block;
    padding: 13px 0 9px;
    line-height: 30px;
    font-size: 23px !important;
  }
  header:not(.dd-header) > div > nav {
    order: 2;
    width: 100%;
    flex-wrap: wrap !important;
    gap: 0 20px !important;
  }
  header:not(.dd-header) > div > nav > a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 0 !important;
  }
  /* the burgundy "My wedding" button moves up beside the logo */
  header:not(.dd-header) > div > nav > a:last-child {
    position: absolute;
    top: 9px;
    right: 16px;
    padding: 10px 14px !important;
    font-size: 11px;
  }
}

/* Phones: lift the smallest labels to a readable size. */
@media (max-width: 760px) {
  [style*="font-size: 10px"], [style*="font-size: 10.5px"] { font-size: 11.5px !important; }
  [style*="font-size: 11px"] { font-size: 12px !important; }
}

/* Large monitors: the layout keeps its proportions and grows with the screen, instead of
   sitting in a narrow strip with wide empty margins. Reading width stays about 70 characters. */
@media (min-width: 1680px) { html { zoom: 1.125; --dd-zoom: 1.125; } }
@media (min-width: 1920px) { html { zoom: 1.25; --dd-zoom: 1.25; } }
@media (min-width: 2400px) { html { zoom: 1.5; --dd-zoom: 1.5; } }

/* Keyboard users: a clear focus ring on every link and button. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #6D1A2A;
  outline-offset: 3px;
}
footer a:focus-visible, [style*="background: #3B0A14"] a:focus-visible, [style*="background: #6D1A2A"] a:focus-visible {
  outline-color: #F2EBE8;
}

/* The free-chat pop-up (assets/js/dd-chat.js) */
.ddc-layer { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; overscroll-behavior: contain; }
/* phones and tablets: fit the part of the screen you can see, above the on-screen keyboard
   (dd-chat.js keeps --ddc-top and --ddc-h up to date), so every field can be scrolled to */
@media (max-width: 900px) { .ddc-layer { top: var(--ddc-top, 0px); bottom: auto; height: var(--ddc-h, 100%); } }
.ddc-layer[hidden] { display: none; }
.ddc-backdrop { position: absolute; inset: 0; background: rgba(26, 16, 18, 0.45); }
/* scrolls inside itself; reaching the end never scrolls the page behind */
.ddc-box { position: relative; width: min(540px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; background: #FAF6F1; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; outline: 0; font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.6; color: #1A1012; }
/* the pop-up itself takes focus when it opens on a phone; the ring is for the buttons and fields inside it */
.ddc-box:focus-visible { outline: 0; }
.ddc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ddc-head-text { display: flex; flex-direction: column; gap: 4px; }
.ddc-label { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; }
.ddc-title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 23px; line-height: 1.15; }
.ddc-sub { margin: 0; font-size: 15px; color: #3A2A2E; }
.ddc-close { appearance: none; background: none; border: 0; padding: 0 0 0 8px; min-height: 44px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ddc-form { display: flex; flex-direction: column; gap: 14px; }
.ddc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.ddc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ddc-field label { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6B4A50; }
.ddc-field input, .ddc-field select { display: block; width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid rgba(26, 16, 18, 0.35); border-radius: 0; background: #FFFFFF; font-family: inherit; font-size: 15px; color: #1A1012; }
.ddc-btn { appearance: none; border: 0; border-radius: 0; min-height: 48px; padding: 0 26px; background: #6D1A2A; color: #F2EBE8; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.ddc-btn:hover { background: #3B0A14; }
@media (max-width: 560px) { .ddc-row { grid-template-columns: minmax(0, 1fr); } }

/* Consent lines and tick boxes under forms (privacy, terms, delivery, updates) */
.dd-consent { margin: 0; font-size: 13px; line-height: 1.5; color: #6B4A50; }
.dd-consent a { color: #6D1A2A; }
.dd-tick { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: #3A2A2E; letter-spacing: normal; text-transform: none; font-weight: 400; }
.dd-tick input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #6D1A2A; }

/* Date boxes: type the date, or pick it from the calendar button beside it (assets/js/dd-date.js).
   17px text, so iPhones don't zoom in when the box is tapped. */
.dd-date { display: flex; width: 100%; max-width: 360px; }
.dd-date-input { flex: 1 1 auto; min-width: 0; height: 52px; box-sizing: border-box; margin: 0; padding: 0 14px; border: 1px solid rgba(26, 16, 18, 0.35); border-right: 0; border-radius: 0; background: #FFFFFF; font-family: inherit; font-size: 17px; letter-spacing: normal; text-transform: none; color: #1A1012; }
.dd-date-input::placeholder { color: #6B4A50; opacity: 1; }
.dd-date-btn { flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; height: 52px; margin: 0; padding: 0; border: 1px solid rgba(26, 16, 18, 0.35); border-radius: 0; background: #FFFFFF; color: #6D1A2A; cursor: pointer; }
.dd-date-btn:hover { background: #F2EBE8; }
.dd-cal { position: absolute; z-index: 60; width: 328px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 12px 14px 6px; background: #FAF6F1; border: 1px solid rgba(26, 16, 18, 0.35); color: #1A1012; font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.4; }
.dd-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.dd-cal-pick { display: flex; flex: 1 1 auto; justify-content: center; gap: 6px; min-width: 0; }
.dd-cal-pick select { appearance: auto; height: 40px; min-width: 0; box-sizing: border-box; margin: 0; padding: 0 4px; border: 1px solid rgba(26, 16, 18, 0.35); border-radius: 0; background: #FFFFFF; font-family: inherit; font-size: 17px; color: #1A1012; cursor: pointer; }
.dd-cal-month { flex: 1 1 auto; }
.dd-cal-year { flex: 0 0 auto; }
.dd-cal-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dd-cal-nav { appearance: none; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(26, 16, 18, 0.12); border-radius: 50%; background: transparent; color: #6D1A2A; font-family: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.dd-cal-nav:hover { background: #F2EBE8; }
.dd-cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dd-cal-grid th { padding: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: #6B4A50; }
.dd-cal-grid td { padding: 1px; text-align: center; }
.dd-cal-day { appearance: none; width: 100%; height: 38px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #1A1012; font-family: inherit; font-size: 15px; cursor: pointer; }
.dd-cal-day:hover { background: #F2EBE8; }
.dd-cal-day.is-today { color: #6D1A2A; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.dd-cal-day[aria-pressed="true"] { background: #6D1A2A; color: #FAF6F1; text-decoration: none; }
.dd-cal-day[aria-disabled="true"] { color: rgba(26, 16, 18, 0.3); background: transparent; cursor: default; }
.dd-cal-day:focus-visible { outline-offset: -2px; }
.dd-cal-day[aria-pressed="true"]:focus-visible { outline-color: #FAF6F1; outline-offset: -4px; }
.dd-cal-foot { display: flex; justify-content: flex-end; }
.dd-cal-close { appearance: none; min-height: 40px; padding: 0 4px; border: 0; background: none; font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; cursor: pointer; }
@media print { .dd-cal { display: none; } }

/* "Skip to content": hidden until a keyboard user tabs to it */
.dd-skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: #6D1A2A; color: #F2EBE8; padding: 12px 18px; font-size: 13px; text-decoration: none; }
.dd-skip:focus { left: 12px; top: 8px; }

/* ---------------------------------------------------------------------------------------------
   Shared pieces. These used to be repeated as inline style="…" on every page; they are defined
   once here so the header, footer, labels and headings change in one place. Colours and sizes are
   the ones in design-tokens.json. Use these classes on new pages instead of copying inline styles.
   --------------------------------------------------------------------------------------------- */

/* page shells and bands */
.dd-page { background: #FAF6F1; color: #1A1012; font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 17px; line-height: 1.65; }
.dd-page-blush { background: #F2EBE8; color: #1A1012; font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.65; }
.dd-band-blush { background: #F2EBE8; }
.dd-band-paper { background: #FAF6F1; }
.dd-rule-top { border-top: 1px solid rgba(26,16,18,0.12); }

/* header (matches the Lovable design: 64px bar, muted links, a small burgundy "My wedding" box) */
.dd-header { position: sticky; top: 0; z-index: 5; background: #F2EBE8; border-bottom: 1px solid rgba(26,16,18,0.12); }
.dd-header-in { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: 0 clamp(20px, 5.5vw, 80px); min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; }
.dd-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 23px; line-height: 1.2; color: #1A1012; text-decoration: none; }
.dd-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(20px, 2vw, 28px); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.dd-nav-link { padding: 14px 0; color: #6B4A50; text-decoration: none; }
.dd-nav-link:hover { color: #6D1A2A; }
.dd-nav-current { color: #6D1A2A; text-decoration: none; padding: 14px 0 12px; border-bottom: 1px solid #6D1A2A; }
.dd-nav-cta { margin-left: 8px; background: #6D1A2A; color: #F2EBE8; border: 1px solid #6D1A2A; text-decoration: none; padding: 9px 16px; letter-spacing: 0.14em; }
.dd-nav-cta:hover { background: #3B0A14; border-color: #3B0A14; }

/* Phones and small tablets: the logo and "My wedding" stay on top (the bar stays in view), and the
   main sections move to a tab bar fixed to the bottom of the screen, as on the Lovable design:
   Destinations, Stories, Guides and Tools. Advisory and About are in the footer and the journey band. */
@media (max-width: 860px) {
  .dd-header { z-index: 40; }
  .dd-header-in { min-height: 60px; padding: 0 20px; }
  .dd-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    background: #F2EBE8; border-top: 1px solid rgba(26,16,18,0.12);
    letter-spacing: 0.02em; text-transform: none; font-size: 12px; font-weight: 400;
  }
  .dd-nav > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 8px 2px 6px; border: 0; color: #6B4A50; text-decoration: none; white-space: nowrap; }
  .dd-nav > a::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--dd-ico) center / 20px 20px no-repeat; mask: var(--dd-ico) center / 20px 20px no-repeat; }
  .dd-nav > a::after { content: ""; width: 24px; height: 2px; background: transparent; }
  .dd-nav > a.dd-nav-current { color: #6D1A2A; }
  .dd-nav > a.dd-nav-current::after { background: #6D1A2A; }
  .dd-nav > a[href$="destinations.html"] { order: 1; --dd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
  .dd-nav > a[href$="stories.html"] { order: 2; --dd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E"); }
  .dd-nav > a[href$="guides.html"] { order: 3; --dd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 6 4 14'/%3E%3Cpath d='M12 6v14'/%3E%3Cpath d='M8 8v12'/%3E%3Cpath d='M4 4v16'/%3E%3C/svg%3E"); }
  .dd-nav > a[href$="tools.html"] { order: 4; --dd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M16 14v4'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3C/svg%3E"); }
  .dd-nav > a[href$="advisory.html"], .dd-nav > a[href$="about.html"] { display: none; }
  /* "My wedding" sits in the top bar, beside the logo */
  .dd-nav > a.dd-nav-cta { position: fixed; z-index: 42; top: 14px; right: 20px; display: inline-flex; flex-direction: row; min-height: 0; margin: 0; padding: 7px 12px; border: 1px solid #6D1A2A; color: #F2EBE8; letter-spacing: 0.14em; text-transform: uppercase; }
  .dd-nav > a.dd-nav-cta::before, .dd-nav > a.dd-nav-cta::after { display: none; }
  /* room under the footer for the tab bar */
  body:has(.dd-header .dd-nav) { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
}

/* footer: shared parts (matches the Lovable design: deep band, logo and tagline left, links right,
   then a thin line with the small print) */
.dd-footer { background: #3B0A14; color: #F2EBE8; }
.dd-footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.dd-footer-small { color: #EADFD0; text-underline-offset: 4px; }
/* footer: compact version */
.dd-footer-in { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: 20px clamp(20px, 5.5vw, 80px) 0; display: flex; flex-direction: column; gap: 0; }
.dd-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-bottom: 16px; }
.dd-footer-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.dd-footer-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 23px; color: #F2EBE8; }
.dd-footer-tag { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; color: #EADFD0; }
.dd-footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.dd-footer-link { color: #F2EBE8; text-decoration: none; padding: 8px 0; white-space: nowrap; }
.dd-footer-link:hover { color: #EADFD0; }
.dd-footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; font-size: 13px; color: #EADFD0; border-top: 1px solid rgba(242,235,232,0.15); margin: 0 calc(-1 * clamp(20px, 5.5vw, 80px)); padding: 12px clamp(20px, 5.5vw, 80px); }
/* the copyright line first, the legal links after it, as on the Lovable footer */
.dd-footer-base > .dd-footer-legal { order: 2; }
/* footer: large version (stories and letters): the same look as the compact one */
.dd-footer-lg-in { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: 20px clamp(20px, 5.5vw, 80px) 0; display: flex; flex-direction: column; gap: 0; }
.dd-footer-lg-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-bottom: 16px; }
.dd-footer-lg-row > div:first-child { flex-direction: row !important; flex-wrap: wrap; align-items: baseline; gap: 2px 16px !important; }
.dd-footer-lg-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 23px; color: #F2EBE8; }
.dd-footer-lg-tag { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; color: #EADFD0; }
.dd-footer-lg-nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.dd-footer-lg-link { color: #F2EBE8; text-decoration: none; padding: 8px 0; white-space: nowrap; }
.dd-footer-lg-link:hover { color: #EADFD0; }
/* the email is already in the small print below */
.dd-footer-lg-mail { display: none; }
.dd-footer-lg-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; font-size: 13px; color: #EADFD0; border-top: 1px solid rgba(242,235,232,0.15); margin: 0 calc(-1 * clamp(20px, 5.5vw, 80px)); padding: 12px clamp(20px, 5.5vw, 80px); }
.dd-footer-lg-base > .dd-footer-legal { order: 2; }
@media (max-width: 1023px) {
  .dd-footer-row, .dd-footer-lg-row { flex-direction: column; align-items: flex-start; }
  .dd-footer-brand, .dd-footer-lg-row > div:first-child { flex-direction: column !important; align-items: flex-start; gap: 4px !important; }
}

/* type */
.dd-wine { color: #6D1A2A; }
.dd-label { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; }
.dd-label-muted { color: #6B4A50; }
.dd-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.dd-h1 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; text-wrap: balance; }
.dd-h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.2vw, 30px); line-height: 1.05; }

/* Hover keeps each shared link's own color (pages also set a:hover, which would otherwise win). */
.dd-logo:hover { color: #1A1012; }
.dd-nav-current:hover, .dd-text-link:hover { color: #6D1A2A; }
.dd-nav-cta:hover { color: #F2EBE8; }
.dd-footer-link:hover, .dd-footer-lg-link:hover, .dd-footer-lg-mail:hover { color: #EADFD0; }
.dd-footer-small:hover { color: #F2EBE8; }
.dd-footer-legal .dd-footer-small { font-size: 13px; color: #EADFD0; text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------------------------------------
   Page header: how every main page starts (Stories, Guides, Tools, Destinations, Advisory, About,
   Share your story, My Wedding, and the country pages). One pattern, as on the Lovable pages: the
   blush page background, 40px under the bar (32px on phones), a small burgundy label, one H1 size
   with the last words in burgundy italic, an optional one-line intro and optional buttons, then the
   same space before the content. Only the words differ from page to page.
     <section class="dd-ph-band"><div class="dd-ph">
       <span class="dd-ph-label">Stories</span>
       <h1 class="dd-ph-h1">The advice starts with women who have <em>done it.</em></h1>
       <p class="dd-ph-lead">…</p>                       (optional)
       <div class="dd-ph-actions">…</div>                (optional: one .dd-btn + one .dd-ph-link)
     </div></section>
   .dd-ph is the gutter and the spacing; put it inside any band. Add .dd-ph-grid for a photo beside
   the text (Advisory, About): the text keeps exactly the same top position.
   --------------------------------------------------------------------------------------------- */
.dd-ph-band { background: #F2EBE8; color: #1A1012; }
.dd-ph { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: 40px clamp(20px, 5.5vw, 80px) 40px; }
.dd-ph-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.dd-ph-text { min-width: 0; }
.dd-ph-label { display: block; margin: 0 0 12px; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; text-decoration: none; }
a.dd-ph-label:hover { color: #3B0A14; }
.dd-ph-h1 { margin: 0; max-width: 22em; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-style: normal; font-size: clamp(38px, 3.9vw, 56px); line-height: 1.06; letter-spacing: -0.005em; color: #1A1012; text-wrap: balance; }
.dd-ph-h1 em { font-style: italic; color: #6D1A2A; }
.dd-ph-lead { margin: 16px 0 0; max-width: 44em; font-size: 18px; line-height: 1.6; color: #6B4A50; }
.dd-ph-lead a { color: #6D1A2A; text-decoration: underline; text-decoration-color: rgba(109,26,42,0.35); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dd-ph-lead a:hover { text-decoration-color: #6D1A2A; }
.dd-ph-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.dd-ph-note { font-size: 15px; line-height: 1.5; color: #6B4A50; }
.dd-ph-note button, .dd-ph-note a { appearance: none; background: none; border: 0; padding: 12px 0; margin: 0; font: inherit; color: #6D1A2A; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 860px) {
  .dd-ph { padding-top: 32px; padding-bottom: 32px; }
  .dd-ph-grid { grid-template-columns: minmax(0, 1fr); }
  .dd-ph-lead { font-size: 17px; }
  .dd-ph-actions { margin-top: 24px; }
}

/* Buttons and links, the same on every page: one primary button per section, and an underlined
   uppercase link beside or after it. */
.dd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; padding: 0 26px; border: 0; border-radius: 0; background: #6D1A2A; color: #F2EBE8; font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.dd-btn:hover { background: #3B0A14; color: #F2EBE8; }
.dd-ph-link, .dd-sh-link { display: inline-block; padding: 4px 0 3px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; color: #6D1A2A; text-decoration: none; white-space: nowrap; }
.dd-ph-link:hover, .dd-sh-link:hover { color: #3B0A14; }

/* Section heading: label, heading and an optional link on the right, the same in every section of
   every page (home: Guides, Stories, About, chat; and similar rows elsewhere).
     <div class="dd-sh"><div class="dd-sh-text"><p class="dd-sh-label">Guides</p>
       <h2 class="dd-sh-h2">Everything we learned, <em>written down.</em></h2></div>
       <a class="dd-sh-link" href="guides.html">All guides →</a></div>
   On the deep and burgundy bands add .dd-sh-dark. */
.dd-sh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 0 0 32px; }
.dd-sh-text { display: flex; flex-direction: column; min-width: 0; }
.dd-sh-label { display: block; margin: 0 0 12px; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6D1A2A; }
.dd-sh-h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-style: normal; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; color: #1A1012; text-wrap: balance; }
.dd-sh-h2 em { font-style: italic; color: #6D1A2A; }
.dd-sh .dd-sh-link { margin-bottom: 6px; }
.dd-sh-dark .dd-sh-label, .dd-sh-dark .dd-sh-h2 em, .dd-sh-dark .dd-sh-link { color: #EADFD0; }
.dd-sh-dark .dd-sh-h2 { color: #F2EBE8; }
.dd-sh-dark .dd-sh-link:hover { color: #F2EBE8; }
@media (max-width: 860px) {
  .dd-sh { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .dd-sh .dd-sh-link { margin-bottom: 0; }
}

