/* gardenwebquartz.com — subpages */
:root {
  --paper: #F8F6EF;
  --paper-2: #EFEDE1;
  --white: #FFFFFF;
  --mist: #F4ECE8;
  --mist-deep: #E8D6D2;
  --moss: #5E6230;
  --moss-deep: #484A1C;
  --peat: #2A2B10;
  --amber: #C49393;
  --amber-ink: #8A4F4F;
  --clay: #7E4E4E;
  --rust: #5E6230;
  --ink: #22230F;
  --ink-soft: #4C4D3A;
  --on-dark: #F3F1E6;
  --rule: rgba(34, 35, 15, 0.14);
  --gutter: 16px;
  --serif: "Libre Bodoni", Georgia, "Times New Roman", serif;
  --sans: "Spline Sans", "Segoe UI", Arial, sans-serif;
  --cf-accent: #5E6230;
  --cf-on: #FFFFFF;
}

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

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

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

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

a {
  color: var(--moss);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--moss-deep);
}

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

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-head {
  position: static;
  background: var(--paper-2);
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand img {
  height: 28px;
  width: auto;
}

.head-nav {
  order: 3;
  flex-basis: 100%;
  display: flex;
  gap: 4px 20px;
}

.head-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
}

.head-nav a:hover,
.head-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.btn-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--peat);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.btn-head:hover {
  background: var(--moss-deep);
}

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.page-hero .wrap {
  padding-top: 52px;
  padding-bottom: 48px;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  margin: 0 0 12px;
  max-width: 18ch;
}

.page-hero p {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 18px;
}

.page-hero .updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--amber-ink);
  font-weight: 600;
}

.hero-tree {
  display: none;
}

/* ---------- Body ---------- */
.page-body {
  padding: 48px 0 72px;
}

.page-grid {
  display: grid;
  gap: 32px;
}

.prose {
  max-width: 720px;
  min-width: 0;
}

.prose h2 {
  font-size: 1.7rem;
  margin: 1.8em 0 0.5em;
  scroll-margin-top: 20px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.4em 0 0.4em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 6px;
}

.prose li::marker {
  color: var(--amber-ink);
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--moss);
  border-radius: 0 12px 12px 0;
}

.callout p {
  margin: 0;
}

.toc {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
}

.toc h2 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber-ink);
  margin: 0 0 10px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.toc li {
  margin-bottom: 6px;
}

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

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

.value-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.value-grid li {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  border-top: 3px solid var(--amber);
  margin: 0;
}

.value-grid strong {
  display: block;
  color: var(--moss-deep);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.mail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--moss-deep);
  color: var(--on-dark);
  border-radius: 14px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.mail-card svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mail-card a {
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- Contact form ---------- */
.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: var(--white);
}

.cform-inner h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.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 4%, 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.12);
}

.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;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--paper-2);
  font-size: 15px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 36px;
  padding-bottom: 24px;
}

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

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}

.foot-base p {
  margin: 0;
}

/* ---------- Breakpoints ---------- */
@media (max-width: 459px) {
  .cform-btn {
    width: 100%;
  }
}

@media (min-width: 700px) {
  :root {
    --gutter: 28px;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cform-form {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 960px) {
  .head-row {
    flex-wrap: nowrap;
    gap: 32px;
    min-height: 68px;
  }

  .brand img {
    height: 34px;
  }

  .head-nav {
    order: 0;
    flex-basis: auto;
    gap: 26px;
  }

  .btn-head {
    padding: 8px 18px;
    font-size: 15px;
  }

  .page-grid.has-toc {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .has-toc .toc {
    position: sticky;
    top: 24px;
  }
}

/* ---------- Header: rose link strip + logo/button row ---------- */
.head-strip {
  background: var(--mist);
  border-bottom: 1px solid var(--mist-deep);
}
.head-strip .wrap { display: flex; justify-content: flex-end; }
.site-head .head-nav {
  order: 0;
  flex-basis: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-head .head-nav::-webkit-scrollbar { display: none; }
.site-head .head-nav a {
  font-size: 13.5px;
  padding: 7px 0;
  white-space: nowrap;
  line-height: 1.3;
}
.site-head .head-row {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-head .brand img { height: 32px; }
.site-head .btn-head { flex-shrink: 0; }
@media (max-width: 374px) {
  .site-head .brand img { height: 26px; }
  .site-head .btn-head { padding: 8px 12px; font-size: 13.5px; }
}
@media (min-width: 960px) {
  .site-head .head-nav { gap: 30px; }
  .site-head .head-row { min-height: 84px; }
  .site-head .brand img { height: 44px; }
}
