/* Warm linen: cream ground, terracotta for actions, sage for reassurance. One light theme by choice. */
:root {
  --linen: #F8F2E9;
  --paper: #FFFBF5;
  --sand: #EFE4D3;
  --line: #E2D4BF;
  --line-soft: #EADFCE;
  --ink: #3A322C;
  --soft: #5E544B;
  --clay: #A4532F;
  --clay-deep: #7E3D21;
  --sage: #4F5F46;
  --sage-wash: #E3E8DA;
  --sage-ink: #33402D;
  --on-sage: #FBF6EE;
  --on-sage-soft: #D6DFCC;
  --ghost-line: #B89F84;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --field-line: #97836E;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
/* Dandelion background, as on the old site: "white dandelion flowers" by Paul Talbot, Unsplash License.
   Shows on the plain cream sections; the sand bands, cards and green panel stay solid. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(248, 242, 233, 0.8), rgba(248, 242, 233, 0.8)),
    url("dandelion.jpg") center / cover no-repeat;
}
img { max-width: 100%; }
a { color: var(--clay); }
a:hover { color: var(--clay-deep); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 3.2vw + 18px, 56px); line-height: 1.08; letter-spacing: -0.01em; }
/* The heading font's ampersand looks like an @ sign. The pages using this load just that one character. */
.amp { font-family: "Lora", Georgia, serif; }
h2 { font-size: clamp(30px, 1.6vw + 22px, 38px); line-height: 1.15; }
p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.lead { font-size: clamp(19px, 0.4vw + 17px, 21px); line-height: 1.6; }
.muted { color: var(--soft); }
.quote { font-family: var(--display); font-style: italic; font-size: clamp(26px, 1.6vw + 18px, 36px); line-height: 1.32; color: var(--ink); }

/* Header */
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; padding-block: 28px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.15; }
.brand-reg { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--soft); }
.brand-sub { font-size: 14px; color: var(--soft); line-height: 1.4; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 16px; font-weight: 600; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--clay); }
.main-nav a[aria-current="page"] { color: var(--clay); border-bottom-color: var(--clay); }
.main-nav a.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--clay); color: var(--paper); border: 0; }
.main-nav a.nav-cta:hover { background: var(--clay-deep); color: var(--paper); }
.main-nav a.nav-cta[aria-current="page"] { background: var(--clay-deep); }
/* Menu button: three bars that turn into a cross when the menu is open */
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-btn { display: none; flex: none; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #CDBBA4; background: var(--paper); color: var(--ink); align-items: center; justify-content: center; padding: 0; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { border-bottom: 1px solid var(--line); }
  .header-row { padding-block: 16px; gap: 8px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  /* The title link stops at its text and the button's tap area reaches past its circle,
     so a near miss opens the menu instead of going to the home page */
  .brand { min-width: 0; justify-self: start; }
  .brand-name { font-size: 24px; }
  .brand-name .brand-reg { font-size: 13px; }
  .brand-sub { font-size: 13px; }
  .js .menu-btn { display: flex; position: relative; }
  .js .menu-btn::before { content: ""; position: absolute; inset: -10px; }
  .main-nav { grid-column: 1 / -1; width: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; padding-bottom: 8px; }

  /* Opening animation: the menu slides open and the links fade in one after another */
  .js .main-nav {
    overflow: hidden; max-height: 0; padding-bottom: 0; opacity: 0; visibility: hidden;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease, opacity 0.2s ease, visibility 0s linear 0.3s;
  }
  .js .menu-open .main-nav {
    max-height: 460px; padding-bottom: 8px; opacity: 1; visibility: visible;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease, opacity 0.25s ease;
  }
  .js .main-nav a { opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.25s ease; }
  .js .menu-open .main-nav a { opacity: 1; transform: none; }
  .js .menu-open .main-nav a:nth-child(2) { transition-delay: 0.04s; }
  .js .menu-open .main-nav a:nth-child(3) { transition-delay: 0.08s; }
  .js .menu-open .main-nav a:nth-child(4) { transition-delay: 0.12s; }
  .js .menu-open .main-nav a:nth-child(5) { transition-delay: 0.16s; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .main-nav a.nav-cta { justify-content: center; min-height: 52px; margin-top: 14px; }
}

/* Sections */
.section { padding-block: clamp(56px, 6vw, 88px); }
.section-top { padding-block: clamp(32px, 4vw, 48px) clamp(56px, 6vw, 80px); }
.band { background: var(--sand); }
.band-paper { background: var(--paper); border-block: 1px solid var(--line-soft); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.narrow { max-width: 860px; margin-inline: auto; }
.center { text-align: center; align-items: center; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 22px; }

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split.top { align-items: flex-start; }
.split > .grow { flex: 999 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split > .side { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }

.head-row { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.head-row h1 { flex: 1 1 280px; }
.head-row > .prose { flex: 999 1 560px; min-width: 0; }

.photo { display: block; width: 100%; height: auto; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 210px 210px 28px 28px; background: var(--sand); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns, .btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.btn-primary { background: var(--clay); color: var(--paper); }
.btn-primary:hover { background: var(--clay-deep); color: var(--paper); }
.btn-ghost { border: 1.5px solid var(--ghost-line); color: var(--ink); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-light { background: var(--on-sage); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline-light { border: 1.5px solid #C9D2BE; color: var(--on-sage); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); color: var(--on-sage); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; font-size: 15px; font-weight: 600; color: var(--sage); line-height: 1.4; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--sage-wash); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.tiles li { padding: 16px 22px; border-radius: 18px; background: var(--linen); }
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 16px; }
  .tiles li { padding: 14px 16px; }
}

.cards { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.card { padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-sizing: border-box; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card.wide { flex: 999 1 460px; }
.card.narrow-card { flex: 1 1 320px; }
.card-sage { background: var(--sage-wash); border-color: transparent; color: var(--sage-ink); justify-content: space-between; }
.card-sage a { color: var(--sage-ink); font-weight: 700; }
.card-green { background: var(--sage); border-color: transparent; color: var(--on-sage); }
.label { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--sage); }
.card-green .label { color: var(--on-sage-soft); }
.price { font-family: var(--display); font-size: clamp(30px, 1.6vw + 22px, 40px); line-height: 1.15; }
.note { padding: 18px 22px; border-radius: 18px; background: var(--sage-wash); color: var(--sage-ink); }
.badge { display: block; width: 100%; max-width: 260px; height: auto; border-radius: 10px; background: #FFFFFF; padding: 10px; box-sizing: border-box; }
.badge-row { display: flex; justify-content: center; padding-block: 8px 56px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.contact-grid .photo { flex: 0 0 140px; max-width: 140px; border-radius: 70px 70px 16px 16px; }
.contact-grid dl { flex: 1 1 240px; }

dl.contact { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; }
dl.contact dt { color: var(--on-sage-soft); }
dl.contact dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
dl.contact dd a { color: var(--on-sage); }
@media (max-width: 480px) {
  dl.contact { grid-template-columns: 1fr; gap: 2px 0; }
  dl.contact dd { margin-bottom: 12px; overflow-wrap: normal; }
}
.card-green p { color: #E6EADF; }
.card-green p a { color: var(--on-sage); }
#contact-failed:focus { outline: none; }
.card-green .btns { margin-top: auto; }

/* Contact form */
[hidden] { display: none !important; }
.form { gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-label { font-size: 16px; font-weight: 700; line-height: 1.4; }
.field-optional { font-weight: 400; color: var(--soft); }
.field-input { display: block; box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 18px; font: inherit; line-height: 1.5; color: var(--ink); background: var(--linen); border: 1.5px solid var(--field-line); border-radius: 18px; }
textarea.field-input { min-height: 180px; resize: vertical; }
.field-input:focus-visible { border-radius: 18px; }
.field-hint { font-size: 15px; line-height: 1.4; color: var(--soft); }
.field-error { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--clay-deep); }
.has-error .field-input { border: 2px solid var(--clay-deep); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--clay); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 16px; }
.form-alert { padding: 18px 22px; border: 2px solid var(--clay-deep); border-radius: 18px; background: var(--linen); }
/* Off-screen rather than display: none, as that's what spam bots look for */
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* .btn was written for links; this lets a real button match them */
.human-check { max-width: 100%; overflow: hidden; }
button.btn { font: inherit; font-weight: 700; border: 0; cursor: pointer; }
button.btn[disabled] { background: var(--clay-deep); cursor: default; }
button.btn-outline-light { border: 1.5px solid #C9D2BE; background: transparent; color: var(--on-sage); }
button.btn-outline-light[disabled] { background: transparent; opacity: 0.75; }
@media (max-width: 760px) {
  .form-foot { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 36px 48px; font-size: 15px; color: var(--soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
