/* pantrycopperweb.com — subpages */
:root {
  /* logo palette: wine #8F3049, plum #5E3048, charcoal #1D1D1D */
  --ink: #1D1D1D;
  --navy: #5E3048;
  --navy-2: #723B59;
  --copper: #8F3049;
  --copper-dk: #74263B;
  --copper-lt: #F0B9C6;
  --frost: #F2EEEF;
  --sand: #F7F0EF;
  --paper: #FFFFFF;
  --line: #E1D6DA;
  --muted: #5A4E54;
  --on-dark: #F7EEF0;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
}

p {
  margin: 0 0 14px;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 2px;
  border: 0;
  transition: background-color 0.2s ease;
}

.btn-wine {
  background: var(--copper);
  color: #FFFFFF;
}

.btn-wine:hover {
  background: var(--copper-dk);
}

.btn-rose {
  background: var(--copper-lt);
  color: var(--ink);
}

.btn-rose:hover {
  background: #FFFFFF;
}

/* ---------- Header: one row, logo left, button right, plum rule ---------- */
.site-head {
  position: static;
  background: var(--paper);
  border-bottom: 2px solid var(--navy);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
}

.brand img {
  height: 44px;
  width: auto;
  max-width: 100%;
}

.head-cta {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 11px 18px 8px;
  white-space: nowrap;
}
/* ---------- Footer ---------- */
.site-foot {
  background: var(--frost);
  padding-top: 48px;
  margin-top: 0;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-bottom: 28px;
}

.foot-logo img {
  height: 40px;
  width: auto;
}

.foot-top p {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
}

.foot-links a {
  color: var(--copper-dk);
  font-size: 0.95rem;
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot-bar {
  background: var(--ink);
  color: #E9E3E5;
  font-size: 0.86rem;
}

.foot-bar p {
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 8px;
}

@media (max-width: 600px) {
  .head-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand img {
    height: 32px;
  }

  .head-cta {
    min-height: 40px;
    padding: 10px 14px 7px;
    font-size: 0.92rem;
  }
}
/* ---------- Page hero ---------- */
.page-hero {
  background: var(--sand);
  color: var(--ink);
  padding: 56px 0 48px;
}

.crumb {
  font-size: 0.92rem;
  margin: 0 0 14px;
  color: var(--muted);
}

.crumb a {
  color: var(--copper-dk);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
}

.page-hero .lead {
  max-width: 40em;
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- Document column ---------- */
.narrow {
  max-width: 820px;
  padding-top: 48px;
}

.doc-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  padding-top: 52px;
  padding-bottom: 70px;
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  background: var(--frost);
  padding: 20px 20px 14px;
  border-top: 4px solid var(--copper);
}

.toc-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin-bottom: 7px;
  font-size: 0.95rem;
}

.toc a {
  text-decoration: none;
  color: var(--navy);
}

.toc a:hover {
  color: var(--copper-dk);
  text-decoration: underline;
}

.doc {
  max-width: 720px;
  padding-bottom: 20px;
}

.doc section {
  scroll-margin-top: 20px;
  padding-bottom: 8px;
}

.doc h2 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-top: 26px;
  color: var(--navy);
}

.doc a {
  color: var(--copper-dk);
}

.doc ul {
  padding-left: 22px;
  margin: 0 0 14px;
}

.doc li {
  margin-bottom: 8px;
}

.updated {
  font-size: 0.92rem;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* ---------- Contact ---------- */
.contact-mail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--sand);
  border-left: 4px solid var(--copper);
}

.contact-mail svg {
  flex: none;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mail-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-mail a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  word-break: break-all;
}

.contact-note {
  margin-top: 18px;
  color: var(--muted);
}

/* ---------- Contact form (adapted from shared cform) ---------- */

.cform {
  padding: 0 var(--gutter, 20px);
  margin: clamp(40px, 6vw, 72px) 0;
}

.cform-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-top: 4px solid var(--cf-accent);
  border-radius: 18px;
  background: color-mix(in srgb, currentColor 4%, transparent);
}

.cform-inner h2 {
  margin: 0 0 8px;
}

.cform-intro {
  margin: 0 0 24px;
  opacity: 0.85;
}

.cform-form {
  display: grid;
  gap: 18px;
}

.cform-row {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cform-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.cform input[type="text"],
.cform input[type="email"],
.cform select,
.cform textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: inherit;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 10px;
}

.cform textarea {
  resize: vertical;
  min-height: 150px;
}

.cform option {
  color: #111111;
  background: #FFFFFF;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus,
.cform-btn:focus-visible {
  outline: 3px solid var(--cf-accent);
  outline-offset: 2px;
}

.cform-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.cform-consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cf-accent);
}

.cform-consent a {
  color: inherit;
  text-decoration: underline;
}

.cform-btn {
  justify-self: start;
  min-height: 50px;
  padding: 0 28px;
  font: inherit;
  font-weight: 700;
  color: var(--cf-on);
  background: var(--cf-accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.cform-btn:hover {
  filter: brightness(1.08);
}

.cform-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cform-status {
  display: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.cform-status:target {
  display: block;
}

.cform-ok {
  background: color-mix(in srgb, var(--cf-accent) 18%, transparent);
  border: 1px solid var(--cf-accent);
}

.cform-err {
  background: color-mix(in srgb, #C0392B 14%, transparent);
  border: 1px solid #C0392B;
}

@media (min-width: 720px) {
  .cform-form {
    grid-template-columns: 1fr 1fr;
  }

  .cform-wide,
  .cform-btn {
    grid-column: 1 / -1;
  }
}

.cform {
  --cf-accent: var(--copper);
  --cf-on: #FFFFFF;
  color: var(--ink);
}

.cform-inner {
  background: var(--paper);
  border-radius: 4px;
}

.cform-inner h2 {
  font-size: 1.8rem;
  font-weight: 400;
}

.cform-btn {
  border-radius: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .doc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .cform-btn {
    width: 100%;
  }
}
