/* ============================================================
   Outerworks — heritage layer
   A quiet, old-craftsman feel on top of the existing brand:
   same greens and gold, a classic serif for headings, warm
   paper tones, squarer corners and stamp-style marks.
   Loaded last on every page. Delete the <link> to switch off.
   ============================================================ */

:root {
  --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --paper-warm: #F3ECDF;
  --card: #FBF7EF;
  --rule: rgba(74, 55, 40, .22);
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

/* ---------- Paper ---------- */
body.tyf {
  background-color: var(--paper-warm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .21 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tyf .tyf-section.alt { background-color: #EAE1D2; }

/* ---------- Type ---------- */
.tyf h1, .tyf h2,
.tyf .tyf-h2, .tyf .tyf-hero h1, .tyf .cta-band h2,
.tyf .section-title, .tyf .page-hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
}
.tyf .tyf-hero h1 { line-height: 1.06; max-width: 17ch; }
.tyf .tyf-hero h1 .accent,
.tyf .tyf-h2 em { font-style: italic; font-weight: 500; }
.tyf h3,
.tyf .svc-card h3, .tyf .step h3, .tyf .lead-card h3, .tyf .guarantee-item h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}


/* ---------- Stamp marks ---------- */
.tyf .tyf-hero-badge,
.tyf .price-badge {
  border-radius: 2px;
  border: 1.5px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 3px;
  letter-spacing: .2em;
  transform: rotate(-1.5deg);
}
.tyf .tyf-hero-badge { margin-left: 4px; }

.tyf .guarantee-item {
  border-top: 0;
  padding: 22px 20px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: -6px;
  border-radius: var(--radius-sm);
}
.tyf .guarantee-item h3::before {
  content: "\2605";
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-right: 10px;
  border: 1.5px dashed var(--gold); border-radius: 50%;
  color: var(--gold); font-size: .8rem; vertical-align: middle;
}

/* Hero guarantee line reads like a stamped strap */
.tyf .tyf-hero-guarantee {
  border-top: 1px solid rgba(232,184,75,.45);
  border-bottom: 1px solid rgba(232,184,75,.45);
  padding: 6px 2px;
}

/* ---------- Cards: squarer, warmer, inner rule ---------- */
.tyf .svc-card, .tyf .price-card, .tyf .contact-tile, .tyf .step,
.tyf .lead-card, .tyf .faq, .tyf .area-tile, .tyf .value-stack li,
.tyf .reviews-cta, .tyf .trust-strip {
  background-color: var(--card);
  border-color: var(--rule);
}
.tyf .svc-card, .tyf .price-card, .tyf .lead-card {
  box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(74,55,40,.12);
}
.tyf .svc-card:hover { box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(200,145,42,.45), 0 18px 36px rgba(74,55,40,.12); }
.tyf .price-card.is-featured { box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(200,145,42,.5); }

/* ---------- Buttons ---------- */
.tyf .btn, .tyf .btn-secondary, .tyf .nav-cta { border-radius: 3px; letter-spacing: .04em; }
.tyf .btn { box-shadow: 0 2px 0 #9b6d1c, 0 10px 22px rgba(200,145,42,.22); }
.tyf .btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #9b6d1c; }
.tyf .btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }

/* ---------- Photos: a touch of age ---------- */
.tyf .tyf-hero-media, .tyf .tyf-split-media, .tyf .gal-item {
  filter: sepia(.14) saturate(.9) contrast(1.02);
}
.tyf .gal-item span, .tyf .gal-item { border-radius: var(--radius-sm); }

/* ---------- Section dividers: double rule ---------- */
.tyf .tyf-section + .tyf-section:not(.alt) { border-top: 3px double var(--rule); }

/* ---------- Form ---------- */
.tyf .lead-field select {
  width: 100%; padding: 12px 38px 12px 14px;
  border: 1px solid var(--pebble); border-radius: var(--radius-xs);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A3728' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  font: inherit; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.tyf .lead-field select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.tyf .lead-opt { font-weight: 400; color: var(--clay); text-transform: none; letter-spacing: 0; }
.tyf .lead-help a, .tyf .form-status a { color: var(--forest); font-weight: 600; text-decoration: underline; }

/* ---------- Area pages: nearby list ---------- */
.tyf .area-nearby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.tyf .area-nearby a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--rule);
  border-radius: 2px; background: var(--card); color: var(--forest);
  font-weight: 600; font-size: .92rem; text-decoration: none;
}
.tyf .area-nearby a:hover { border-color: var(--gold); }

/* ---------- Self-hosted photos ---------- */
.tyf .tyf-hero-media { background-image: var(--bg-sm); }
@media (min-width: 800px) { .tyf .tyf-hero-media { background-image: var(--bg-lg, var(--bg-sm)); } }
.tyf .gal-item { margin: 0; }
.tyf .gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tyf .gal-item figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  font-size: .72rem; color: #fff; background: rgba(11,61,34,.78); padding: 4px 10px; border-radius: 2px;
}

/* ---------- Contrast fixes ---------- */
.announcement, .announcement-text { color: #241A11; }
.announcement-cta { background: #0F5C2E; color: #fff; }
.tyf .price-name, .tyf .price-from, .tyf .lead-card .form-sub, .tyf .lead-help, .tyf .trust-item span, .tyf .area-tile .at-pc { color: #6B5A46; }
.tyf .compare th.row-label { text-align: left; font-weight: 600; }

/* ---------- Guides ---------- */
.tyf .guide-hero { padding-bottom: clamp(36px, 6vh, 56px); }
.tyf .guide-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.tyf .guide-meta { margin: 6px 0 0; font-size: .88rem; color: rgba(245,240,232,.75); }
.tyf .guide-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .tyf .guide-wrap { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.tyf .guide-prose { max-width: 70ch; font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.tyf .guide-prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); color: var(--forest); margin: 2em 0 .5em; line-height: 1.2; }
.tyf .guide-prose p, .tyf .guide-prose ul, .tyf .guide-prose ol { margin: 0 0 1em; }
.tyf .guide-prose li { margin-bottom: .4em; }
.tyf .guide-prose a { color: var(--forest); text-decoration: underline; }
.tyf .guide-summary { background: var(--card); border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -6px; padding: 22px 24px 10px; border-radius: var(--radius-sm); }
.tyf .guide-summary ul { padding-left: 1.1em; }
.tyf .guide-note { font-size: .9rem; color: #6B5A46; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 2em; }
.tyf .guide-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; background: var(--card); }
.tyf .guide-table th, .tyf .guide-table td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; }
.tyf .guide-table thead th { background: var(--forest); color: #fff; font-family: var(--font-head); letter-spacing: .04em; }
.tyf .guide-aside { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--rule); padding: 22px; border-radius: var(--radius-sm); }
.tyf .guide-aside ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.tyf .guide-aside a:not(.btn) { color: var(--forest); font-weight: 600; text-decoration: none; }
.tyf .guide-aside .btn { width: 100%; }
@media (max-width: 979px) { .tyf .guide-aside { position: static; } }
@media (max-width: 600px) { .tyf .guide-table { font-size: .85rem; } .tyf .guide-table th, .tyf .guide-table td { padding: 8px; } }

/* ---------- Design fixes ---------- */
/* Announcement bar scrolls away; the header is placed below it by site.js */
.announcement { position: relative; }
html.has-announcement .site-header { transition: background .35s ease, box-shadow .35s ease; }

/* Hero headline: calmer size, wider measure */
.tyf .tyf-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 19ch; }
.tyf .tyf-hero h1.promise { max-width: 18ch; }

/* Secondary button on dark heroes was green-on-green */
.tyf .tyf-hero .btn-secondary {
  color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  border-radius: 3px; padding: 12px 20px; font-weight: 700;
}
.tyf .tyf-hero .btn-secondary:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* Form: the service picker matches the text fields */
.tyf .lead-field select {
  background-color: var(--stone); border-color: var(--pebble);
  padding-top: 12px; padding-bottom: 12px; line-height: 1.4; min-height: 0; height: auto;
}
.tyf .lead-field input, .tyf .lead-field select { font-size: 1rem; line-height: 1.4; }

/* Phones: sticky bar + one WhatsApp button is enough */
@media (max-width: 899px) {
  .quick-contact-call, .quick-contact-email { display: none !important; }
  .quick-contact { right: 14px !important; }
}

/* The logo on the featured price card competed with the stamp */
.tyf .price-card.is-featured::after { display: none; }
