/* pantrycopperweb.com — homepage */
: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-link {
  margin-left: auto;
  padding: 8px 2px 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.head-link:hover,
.head-link[aria-current="page"] {
  color: var(--copper-dk);
  border-bottom-color: currentColor;
}

.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;
  }
}
@media (max-width: 400px) {
  .head-row {
    gap: 12px;
  }

  .brand img {
    height: 27px;
  }

  .head-link {
    font-size: 0.9rem;
  }

  .head-cta {
    padding: 10px 12px 7px;
    font-size: 0.88rem;
  }
}
/* ---------- Hero: full-bleed photo, white card over the bottom-left ---------- */
.hero {
  position: relative;
  padding-bottom: 8px;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(440px, 42vw, 600px);
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-wrap {
  position: relative;
  max-width: var(--wrap);
  margin: -210px auto 0;
  padding: 0 var(--gutter);
}

.hero-card {
  max-width: 500px;
  padding: 40px 44px 42px;
  background: var(--paper);
  border-top: 4px solid var(--navy);
  box-shadow: 0 10px 30px rgba(29, 29, 29, 0.08);
}

.hero-card h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  color: var(--ink);
  max-width: 15ch;
  margin-bottom: 14px;
}

.hero-card p {
  max-width: 34ch;
  margin-bottom: 26px;
  color: var(--muted);
}
/* ---------- Short centred text ---------- */
.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--gutter) 72px;
  text-align: center;
}

.intro p {
  font-size: 1.08rem;
}

.intro .intro-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.text-link {
  color: var(--copper-dk);
  text-underline-offset: 4px;
}

/* ---------- Category row: square tiles ---------- */
.cats {
  padding-bottom: 88px;
}

.cats h2,
.plan h2,
.faq h2,
.story h2,
.closing h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 400;
}

.cats h2 {
  margin-bottom: 26px;
}

.cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--frost);
}

.cat-row p {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.cats-foot {
  margin: 30px 0 0;
  max-width: 62ch;
  color: var(--muted);
}

.cats-foot a {
  color: var(--copper-dk);
  font-weight: 600;
  text-underline-offset: 4px;
}

/* ---------- Story: photo left, text right ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.story-photo {
  margin: 0;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-text {
  max-width: 30rem;
}

.story-text > p {
  margin-bottom: 24px;
}

.methods {
  margin: 0;
  border-top: 1px solid var(--line);
}

.methods div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 12px 0 9px;
  border-bottom: 1px solid var(--line);
}

.methods dt {
  font-weight: 600;
}

.methods dd {
  margin: 0;
  color: var(--muted);
}

/* ---------- Plan (real sequence) ---------- */
.plan {
  background: var(--sand);
  padding: 80px 0;
}

.plan-lead {
  max-width: 52ch;
  color: var(--muted);
  margin-bottom: 36px;
}

.plan-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-steps li {
  padding-top: 16px;
  border-top: 2px solid var(--copper);
}

.plan-steps span {
  display: block;
  font-size: 0.9rem;
  color: var(--copper-dk);
  margin-bottom: 6px;
}

.plan-steps h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.plan-steps p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  padding: 88px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--copper);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0 0 18px;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------- Closing ---------- */
.closing {
  border-top: 1px solid var(--line);
  padding: 64px 0 72px;
}

.closing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.closing h2 {
  margin: 0;
}

.closing-cta {
  max-width: 26rem;
}

.cta-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-photo img {
    height: 300px;
  }

  .hero-wrap {
    margin-top: -64px;
  }

  .hero-card {
    max-width: none;
    padding: 28px 22px 30px;
  }

  .hero-card .btn {
    width: 100%;
  }
.story,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .story-photo img {
    aspect-ratio: 3 / 2;
  }

  .plan-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cat-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cat-row li:last-child {
    display: none;
  }

  .plan-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .intro {
    padding: 48px var(--gutter) 56px;
  }

  .cats,
  .story {
    padding-bottom: 64px;
  }

  .plan,
  .faq {
    padding: 60px 0;
  }

  .closing-cta,
  .closing-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

/* ---------- From the blog (WordPress only): heading left, ruled rows right ---------- */
.jottings {
  padding: 80px 0 8px;
}

.jottings-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.jottings-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 400;
}

.jottings-head p {
  color: var(--muted);
  max-width: 24ch;
}

.jottings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.jottings-list li {
  border-bottom: 1px solid var(--line);
}

.jottings-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  text-decoration: none;
}

.jottings-thumb {
  flex: 0 0 112px;
  width: 112px;
}

.jottings-thumb img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  background: var(--frost);
}

.jottings-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.jottings-label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper-dk);
}

.jottings-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
}

.jottings-row:hover .jottings-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .jottings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .jottings {
    padding-top: 60px;
  }

  .jottings-row {
    gap: 14px;
  }

  .jottings-thumb,
  .jottings-thumb img {
    flex-basis: 84px;
    width: 84px;
    height: 68px;
  }

  .jottings-title {
    font-size: 1.1rem;
  }
}
