/* Tarka Web Design — hand-written site styles (mobile-first, no framework). */

:root {
    --ink: #262b23;
    --ink-soft: #565b4f;
    --ink-faint: #7a7e71;
    --forest: #1e4a3a;
    --forest-dark: #123024;
    --forest-tint: #e9f0ec;
    --gold: #a9812f;
    --gold-dark: #7c5f21;
    --gold-soft: #f1e6c8;
    --cream: #f8f4ea;
    --paper: #ffffff;
    --line: #e3dbc8;
    --line-soft: #eee7d6;
    --danger: #9b2c2c;
    --danger-bg: #fbeaea;
    --ok-bg: #eaf4ee;
    --ok-ink: #1e4a3a;
    --radius: .6rem;
    --shadow: 0 1.25rem 2.5rem -1.5rem rgba(20, 30, 24, .35);
    --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--forest-dark);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 .6em;
}
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: .4rem; transition: top .15s ease; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* Eyebrow / kicker */
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .75rem; }
.kicker::before { content: ""; width: 1.5rem; height: 2px; background: var(--gold); display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: .4rem; font-weight: 700; text-decoration: none; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline.on-dark:hover { background: #fff; color: var(--forest-dark); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(248, 244, 234, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--forest-dark); min-width: 0; }
.brand img { height: 2.5rem; width: auto; max-width: 11rem; object-fit: contain; }
.brand strong { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.brand .mark { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--serif); font-weight: 700; flex: none; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .4rem; border: 1px solid var(--line); background: var(--paper); color: var(--forest-dark); }
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle:not([aria-expanded="true"]) .icon-close { display: none; }

.main-nav { display: none; flex-direction: column; gap: .25rem; padding: .5rem 0 1.25rem; border-top: 1px solid var(--line); }
.main-nav.is-open { display: flex; }
.main-nav a { display: block; padding: .7rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.main-nav a[aria-current="page"] { color: var(--forest); }
.main-nav .nav-cta { margin-top: .6rem; }

@media (min-width: 62rem) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; border-top: 0; padding: 0; }
    .main-nav a { border-bottom: 0; padding: .4rem 0; position: relative; }
    .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
    .main-nav .nav-cta { margin-top: 0; margin-left: .5rem; }
}

.top-strip { background: var(--forest-dark); color: #eee7d6; font-size: .8125rem; }
.top-strip .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; padding: .5rem 0; }
.top-strip a { color: #fff; text-decoration: none; font-weight: 600; }
.top-strip .item { display: inline-flex; align-items: center; gap: .4rem; }
.top-strip svg { width: .95rem; height: .95rem; flex: none; }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--forest-dark), var(--forest)); color: #fff; padding: clamp(2.75rem, 8vw, 5rem) 0; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero .kicker::before { background: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); }
.page-hero p.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #dce6df; max-width: 42rem; margin: 0; }
.page-hero .actions { margin-top: 1.75rem; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 55%, #2e6551 100%); color: #fff; }
.home-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(28rem 20rem at 85% 0%, rgba(233, 197, 122, .18), transparent 60%); pointer-events: none; }
.home-hero .wrap { position: relative; padding: clamp(3rem, 10vw, 6rem) 0 clamp(2.5rem, 8vw, 5rem); }
.home-hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 38rem; }
.home-hero .tagline { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--gold-soft); font-family: var(--serif); font-style: italic; margin: 0 0 1rem; }
.home-hero p.lead { color: #dfe8e2; max-width: 34rem; font-size: clamp(1rem, 2vw, 1.15rem); }
.home-hero .actions { margin-top: 1.75rem; }
.trust-row { display: grid; gap: .9rem; margin-top: 3rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-row .item { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: #e7eee9; }
.trust-row svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--gold-soft); }

/* Sections */
.section { padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 42rem; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.section-foot { margin-top: 2.25rem; text-align: center; }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 46rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 46rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.card .ic { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); margin-bottom: 1rem; }
.card .ic svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

/* Values / process steps */
.steps { counter-reset: step; display: grid; gap: 1.75rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: .25rem; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--serif); font-weight: 700; margin-bottom: .9rem; }
.step h3 { font-size: 1.05rem; }

/* Pricing */
.price-table { display: grid; gap: 1.75rem; }
@media (min-width: 60rem) { .price-table { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.price-card.featured { border-color: var(--gold); border-width: 2px; }
.price-card .flag { position: absolute; top: -.9rem; left: 2rem; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.price-card h3 { margin-bottom: .25rem; }
.price-card .price { font-family: var(--serif); font-size: 2.25rem; color: var(--forest-dark); margin: .25rem 0 .25rem; }
.price-card .price span { font-family: var(--sans); font-size: .95rem; color: var(--ink-faint); font-weight: 400; }
.price-card .price-note { color: var(--ink-faint); font-size: .875rem; margin-bottom: 1.25rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.price-card li svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--forest); margin-top: .15rem; }
.price-note-block { margin-top: 2.5rem; background: var(--forest-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.price-note-block h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.price-note-block p:last-child { margin-bottom: 0; }

/* Gallery */
.gallery-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; color: #fff; position: relative; background: linear-gradient(135deg, var(--frame-a, #1e4a3a), var(--frame-b, #2e6551)); }
.gallery-frame svg { width: 2.25rem; height: 2.25rem; opacity: .85; }
.gallery-frame span.slot-label { position: absolute; bottom: .6rem; left: .6rem; right: .6rem; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 700; }
.gallery-caption { padding: 1rem 1.1rem; }
.gallery-caption h3 { font-size: 1rem; margin-bottom: .2rem; }
.gallery-caption p { font-size: .875rem; color: var(--ink-faint); margin: 0; }
.gallery-note { background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold-dark); border-radius: var(--radius); padding: 1.1rem 1.4rem; font-size: .9375rem; margin-bottom: 2rem; }

/* About */
.about-photo-slot { aspect-ratio: 16/10; border-radius: var(--radius); background: linear-gradient(135deg, var(--forest), #2e6551); display: grid; place-items: center; color: rgba(255,255,255,.85); box-shadow: var(--shadow); }
.about-photo-slot svg { width: 3rem; height: 3rem; }
.values-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 46rem) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.info-card .map-slot { aspect-ratio: 16/9; background: repeating-linear-gradient(135deg, var(--forest-tint), var(--forest-tint) 10px, var(--paper) 10px, var(--paper) 20px); display: grid; place-items: center; color: var(--forest); border-bottom: 1px solid var(--line); }
.info-card .map-slot svg { width: 2.5rem; height: 2.5rem; }
.info-card .body { padding: 1.75rem; display: grid; gap: 1.25rem; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; }
.info-row .ic { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--forest-tint); color: var(--forest); flex: none; }
.info-row .ic svg { width: 1.2rem; height: 1.2rem; }
.info-row h3 { font-size: .95rem; margin-bottom: .2rem; }
.info-row p, .info-row address { margin: 0; color: var(--ink-soft); font-style: normal; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours-table td { padding: .3rem 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.field { display: block; font-size: .875rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 1.1rem; }
.field input, .field textarea { display: block; width: 100%; margin-top: .4rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: .4rem; font: inherit; font-weight: 400; color: var(--ink); background: var(--cream); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-tint); background: #fff; }
.field textarea { resize: vertical; min-height: 8rem; }
.form-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 38rem) { .form-row { grid-template-columns: 1fr; } }
.notice { padding: .85rem 1.1rem; border-radius: .4rem; font-size: .9375rem; margin-bottom: 1.1rem; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid #b9dcc6; }
.notice.err { background: var(--danger-bg); color: var(--danger); border: 1px solid #f1c2c2; }

/* Blog */
.post-grid { display: grid; gap: 1.75rem; }
@media (min-width: 46rem) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--frame-a, #a9812f), var(--frame-b, #7c5f21)); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.post-card .thumb svg { width: 2rem; height: 2rem; }
.post-card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); font-weight: 700; }
.post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card h3 a { color: var(--forest-dark); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card p { color: var(--ink-soft); font-size: .9375rem; margin: 0; flex: 1; }
.post-card .readmore { font-weight: 700; font-size: .875rem; }

.article-head { max-width: 42rem; }
.article-body { max-width: 42rem; }
.article-body p { color: var(--ink-soft); }
.article-body h2 { font-size: 1.4rem; margin-top: 1.75rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; margin-bottom: 1.5rem; text-decoration: none; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--forest-dark), var(--forest)); color: #fff; padding: clamp(2.5rem, 6vw, 3.5rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe8e2; max-width: 34rem; margin: 0 auto 1.5rem; }
.cta-band .actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--forest-dark); color: #dce6df; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-bottom: 1rem; }
.footer-brand img { height: 2.25rem; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer p { color: #b9c6bd; font-size: .9375rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #dce6df; text-decoration: none; font-size: .9375rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8125rem; color: #97a89e; }
.footer-base a { color: #b9c6bd; }

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