@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/kanit-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/kanit-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/kanit-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/kanit-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/kanit-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/kanit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/kanit-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/kanit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/kanit-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/kanit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/kanit-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/kanit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/kanit-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/kanit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/kanit-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/kanit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/kanit-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/kanit-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/pridi-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/pridi-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/pridi-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/pridi-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/pridi-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Pridi'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/pridi-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #edf2f3;
  --fg-light-base-body: #132029;
  --fg-light-base-heading: #132029;
  --fg-light-base-muted: #4a5964;
  --fg-light-base-link: #6d1f99;
  --fg-light-base-inverse: #2d3c47;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #132029;
  --fg-light-card-heading: #132029;
  --fg-light-card-muted: #4a5964;
  --fg-light-card-link: #6d1f99;
  --fg-light-card-inverse: #2d3c47;
  --bg-light-elevated: #dce6e9;
  --fg-light-elevated-body: #132029;
  --fg-light-elevated-heading: #132029;
  --fg-light-elevated-muted: #4a5964;
  --fg-light-elevated-link: #6d1f99;
  --fg-light-elevated-inverse: #2d3c47;
  --brand-light-accent: #6d1f99;
  --brand-light-accent-hover: #521574;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #6d1f99;
  --border-light-default: #6c7d88;
  --border-light-subtle: #c2d0d6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Body-contouring field notes: icy clinical surfaces, plum measure marks, a tape-measure scale as the one recurring device. */
:root {
  --font-head: 'Kanit', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-text: 'Pridi', Georgia, 'Times New Roman', serif;
  --plum: var(--brand-light-accent);
  --plum-deep: var(--brand-light-accent-hover);
  --on-plum: var(--brand-light-on-accent);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --ice: var(--bg-light-base);
  --sheet: var(--bg-light-card);
  --frost: var(--bg-light-elevated);
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 38rem;
  --rail-w: 17.5rem;
  /* Tape-measure scale: a minor tick every 8px, a major tick every 40px. */
  --tape-minor: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8px);
  --tape-major: repeating-linear-gradient(90deg, var(--plum) 0 2px, transparent 2px 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.72;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { margin: 0; font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { margin: 2.75rem 0 0.75rem; font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { margin: 1.8rem 0 0.5rem; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- Tape-measure rules ---------- */

.tape {
  height: 1.1rem;
  margin: 0 var(--gutter);
  border-bottom: 2px solid var(--plum);
  background:
    var(--tape-major) left bottom / 100% 1rem no-repeat,
    var(--tape-minor) left bottom / 100% 0.45rem no-repeat;
}
.tape-short { margin: 0 0 1rem; }

/* ---------- Frame: rail at desktop, top bar on phones ---------- */

.frame { min-height: 100vh; }

.rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem var(--gutter);
  border-bottom: 2px solid var(--plum);
}

.rail-top { min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  text-decoration: none;
}
.brand .site-logo { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand:hover .brand-name { text-decoration: underline; }

.rail-strap { display: none; }

.site-nav { display: none; }

.site-menu { flex: 0 0 auto; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--plum);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500;
  white-space: nowrap;
}
.menu-icon {
  width: 1.15rem;
  height: 0.85rem;
  background:
    linear-gradient(currentColor, currentColor) left top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
}
.site-menu[open] > summary { position: relative; z-index: 42; background: var(--sheet); }
.site-menu > ul {
  position: fixed;
  inset: 0;
  z-index: 41;
  margin: 0;
  padding: 5rem var(--gutter) 2rem;
  list-style: none;
  overflow-y: auto;
  background: var(--sheet);
}
.site-menu > ul > li { border-bottom: 1px solid var(--line-soft); }
.site-menu > ul > li > a {
  display: block;
  padding: 0.85rem 0 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}
.site-menu > ul ul { margin: 0 0 0.75rem; padding: 0 0 0 1rem; list-style: none; border-left: 2px solid var(--plum); }
.site-menu > ul ul a { display: block; padding: 0.4rem 0; text-decoration: none; }
.site-menu a:hover { text-decoration: underline; }

.sheet { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.sheet > main { flex: 1 0 auto; }

.site-footer { padding: 0 var(--gutter) 2.25rem; }
.site-footer p { margin: 0; }
.foot-tape {
  height: 0.8rem;
  margin-bottom: 1.4rem;
  background: var(--tape-minor) left top / 100% 0.8rem no-repeat;
}
.foot-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.foot-name a { text-decoration: none; }
.foot-name a:hover { text-decoration: underline; }
.foot-line { margin-top: 0.3rem; font-size: 0.98rem; }

@media (min-width: 1024px) {
  .frame {
    display: grid;
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    align-items: stretch;
  }
  .rail {
    position: relative;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 1.6rem 0 2rem 1.25rem;
    border-bottom: 0;
    /* The rail edge is a vertical tape measure. */
    background-image:
      repeating-linear-gradient(180deg, var(--plum) 0 2px, transparent 2px 40px),
      repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px);
    background-position: right top, right top;
    background-size: 1rem 100%, 0.45rem 100%;
    background-repeat: no-repeat;
    border-right: 2px solid var(--plum);
  }
  .rail-top { padding-right: 1.5rem; }
  .brand { flex-direction: column; align-items: flex-start; }
  .brand .site-logo { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.35rem; line-height: 1.02; }
  .rail-strap {
    display: block;
    margin: 0.7rem 0 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .site-menu { display: none; }
  .site-nav { display: block; padding-right: 1.5rem; }
  .site-nav > ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
  .site-nav > ul > li { position: relative; border-bottom: 1px solid var(--line-soft); }
  .site-nav > ul > li > a,
  .site-nav-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 0.25rem 0.7rem 0.75rem;
    border-left: 3px solid transparent;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
  }
  .site-nav-group > summary { list-style: none; cursor: pointer; }
  .site-nav-group > summary::-webkit-details-marker { display: none; }
  .site-nav-group > summary::after {
    content: "\203A";
    font-size: 1.3rem;
    line-height: 1;
  }
  .site-nav > ul > li > a:hover,
  .site-nav-group > summary:hover { border-left-color: var(--plum); text-decoration: underline; }
  .site-nav a[aria-current="page"] { border-left-color: var(--plum); }
  .site-nav-group[open] > summary { border-left-color: var(--plum); background: var(--frost); }
  /* Flyout: the open group's list opens to the right of the rail. */
  .site-nav-group > ul {
    position: absolute;
    left: calc(100% + 1.5rem);
    top: -1px;
    z-index: 40;
    width: 21rem;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--sheet);
    border: 1px solid var(--line);
    border-left: 4px solid var(--plum);
  }
  .site-nav-group > ul > li > a {
    display: block;
    padding: 0.55rem 1rem;
    line-height: 1.35;
    text-decoration: none;
  }
  .site-nav-group > ul > li:first-child > a {
    font-family: var(--font-head);
    font-weight: 700;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 0.25rem;
  }
  .site-nav-group > ul a:hover { text-decoration: underline; }
}

/* ---------- Shared pieces ---------- */

main { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); }

.breadcrumbs { padding: 1rem var(--gutter) 0; font-size: 0.92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; }

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--plum); }
.prose a { color: var(--plum); }

.photo-hero, .photo-inline { margin: 0 0 1.75rem; }
.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.5rem;
}
figcaption { margin-top: 0.4rem; font-size: 0.9rem; }

/* ---------- Home: split cover ---------- */

.home { padding-top: 0; }

.cover {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) clamp(1.25rem, 3vw, 2rem);
}
.cover-copy { align-self: center; }
.cover-title h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.96; }
.cover-lines { margin-top: 1.25rem; max-width: 32rem; }
.display-line { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.55; }
.contour { width: min(100%, 15rem); height: auto; justify-self: center; color: var(--plum); }
.c-line { opacity: 0.55; }

.hub-pair {
  display: grid;
  gap: 1rem;
  padding: 1.5rem var(--gutter) 0.5rem;
}
.hub-door {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 2.5rem 0.5rem 0.5rem 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  text-decoration: none;
}
.hub-door:hover { text-decoration: underline; }
.door-icon { flex: 0 0 auto; width: 3rem; height: 3rem; }

.home-body { padding: 1.75rem var(--gutter) 0; }

@media (min-width: 760px) {
  .cover { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
  .contour { width: min(100%, 17rem); }
  .hub-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1180px) {
  .home-body {
    max-width: none;
    columns: 2 22rem;
    column-gap: 3rem;
  }
  .home-body > .photo-hero { column-span: all; max-width: 46rem; }
  .home-body h2 { break-after: avoid; }
}

/* ---------- Topic hub: stepped notes ---------- */

/* Phone: graphic stacks above the heading so the heading keeps the full width and wraps between words. */
.hub-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 0 var(--gutter) 1rem;
}
.hub-title { min-width: 0; }
.hub-title h1 {
  font-size: clamp(2rem, 5.4vw, 4rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
.hub-graphic { order: -1; width: 5.5rem; height: auto; color: var(--plum); }
@media (min-width: 760px) {
  .hub-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem; }
  .hub-graphic { order: 0; width: clamp(7rem, 12vw, 10rem); }
}
.g-dose { display: none; }
.hub:has(.hub-steps a[href^="/prescription-weight-management-medicines/"]) .g-cool { display: none; }
.hub:has(.hub-steps a[href^="/prescription-weight-management-medicines/"]) .g-dose { display: block; }

.hub-steps { padding: 1.5rem var(--gutter) 0.5rem; }
.hub-steps ul {
  counter-reset: note;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}
.hub-steps li {
  counter-increment: note;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.hub-steps li::before {
  content: counter(note, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--plum);
}
.hub-steps a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  text-decoration: none;
}
.hub-steps a:hover { text-decoration: underline; }

@media (min-width: 760px) {
  .hub-steps li:nth-child(2) { margin-left: 2rem; }
  .hub-steps li:nth-child(3) { margin-left: 4rem; }
  .hub-steps li:nth-child(4) { margin-left: 6rem; }
  .hub-steps li:nth-child(5) { margin-left: 8rem; }
  .hub-steps li:nth-child(n+6) { margin-left: 10rem; }
}

.hub-body { padding: 2rem var(--gutter) 0; }

/* ---------- Article: notebook with a consultation log ---------- */

.note-title { padding: 0 var(--gutter); max-width: 52rem; }
.note-grid {
  display: grid;
  gap: 2rem;
  padding: 1.75rem var(--gutter) 0;
}
.note-body h2 {
  padding-top: 1.5rem;
  background: var(--tape-minor) left top / 100% 0.45rem no-repeat;
  border-top: 2px solid var(--plum);
}
.note-log {
  align-self: start;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 0.5rem;
  border-top: 4px solid var(--plum);
}
.log-title { margin: 0 0 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.log-rows { margin: 0; padding: 0; list-style: none; }
.log-rows li {
  padding: 0.6rem 0 1.6rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (min-width: 1100px) {
  .note-grid { grid-template-columns: minmax(0, var(--measure)) 16rem; column-gap: 3rem; }
  .note-log { position: sticky; top: 1.5rem; }
}

/* ---------- About ---------- */

.about { padding-left: var(--gutter); padding-right: var(--gutter); }
.about-contour { width: 7.5rem; height: auto; color: var(--plum); margin-bottom: 1rem; }
.about-title { max-width: var(--measure); }
.about-body { margin-top: 1.5rem; }
.about-topics {
  max-width: var(--measure);
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--plum);
}
.topics-title { margin: 0 0 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.topics-list { margin: 0; padding-left: 1.2rem; }
.topics-list li { margin: 0.35rem 0; }
.topics-list li::marker { color: var(--plum); }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  gap: 2rem;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.contact-body { margin-top: 1.25rem; }
.contact-side { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 1rem; align-self: start; }
.tape-col {
  border-left: 2px solid var(--plum);
  background:
    repeating-linear-gradient(180deg, var(--plum) 0 2px, transparent 2px 40px) left top / 1rem 100% no-repeat,
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px) left top / 0.5rem 100% no-repeat;
}
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line-soft);
}
.field { display: grid; gap: 0.3rem; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; }
.form-button {
  justify-self: start;
  min-height: 2.75rem;
  padding: 0.55rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--on-plum);
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.form-button:hover { background: var(--plum-deep); }

@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field-wide, .form-button { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 3rem; }
}

/* ---------- Thank you ---------- */

.thanks { padding-left: var(--gutter); padding-right: var(--gutter); max-width: calc(var(--measure) + 2 * var(--gutter)); }
.thanks-mark { width: 4rem; height: 4rem; color: var(--plum); margin-bottom: 1rem; }
.thanks-body { margin-top: 1.25rem; }
.thanks-hubs { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
