/*
Theme Name: Tiny Grove 2026
Theme URI: https://tinygrove.co.uk
Author: Tiny Grove
Description: A modern, clean redesign of the Tiny Grove studio site — web design, app development and e-commerce for small businesses and startups, from a UK studio serving clients worldwide.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tiny-grove-2026
*/

:root {
    --forest: #004638;
    --forest-deep: #00372d;
    --ink: #163a31;
    --paper: #f3f0e6;
    --paper-light: #fbfaf5;
    --white: #ffffff;
    --lime: #a9cf18;
    --lime-deep: #8fb314;
    --olive: #719b36;
    --coral: #ed7659;
    --muted: #62716c;
    --line: rgba(22,58,49,.12);
    --line-strong: rgba(22,58,49,.2);
    --line-on-dark: rgba(255,255,255,.14);
    --shadow-soft: 0 18px 40px rgba(0,55,45,.08);
    --shadow-card: 0 24px 56px rgba(0,55,45,.12);
    --radius: 20px;
    --radius-sm: 12px;
    --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; overflow-wrap: break-word; word-break: break-word; }
em { font-style: italic; }
::selection { background: var(--lime); color: var(--forest-deep); }

.site-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section-space { padding: 120px 0; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 9999; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--lime); color: var(--forest-deep); font-weight: 700; }
.skip-link:focus { top: 12px; }
.scroll-meter { position: fixed; inset: 0 0 auto; z-index: 2000; height: 3px; background: transparent; }
.scroll-meter i { display: block; width: 0; height: 100%; background: var(--lime); }

.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.section-heading { max-width: 640px; margin-bottom: 64px; }
.section-heading h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); color: var(--ink); }
.section-heading > p:not(.eyebrow) { max-width: 560px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--lime); color: var(--forest-deep); box-shadow: 0 14px 30px rgba(169,207,24,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(169,207,24,.36); background: var(--lime-deep); }
.btn-ghost { padding: 0 4px; min-height: auto; border-bottom: 1.5px solid var(--line-strong); border-radius: 0; color: var(--ink); font-weight: 600; }
.btn-ghost:hover { border-color: var(--forest); }
.btn-ghost span { transition: transform .25s var(--ease); display: inline-block; }
.btn-ghost:hover span { transform: translate(2px,-2px); }
.btn-on-dark.btn-ghost { color: var(--white); border-color: var(--line-on-dark); }
.btn-on-dark.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ── Header ────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1200; background: rgba(0,70,56,.96); color: var(--white); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-on-dark); box-shadow: 0 1px 0 rgba(0,0,0,.08); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: var(--forest-deep); box-shadow: 0 16px 36px rgba(0,20,15,.22); }
.nav-layout { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px; min-height: 76px; }
.brand-image { width: 132px; height: 63px; object-fit: contain; }
.primary-nav { display: flex; justify-content: center; gap: 30px; }
.primary-nav a { position: relative; font-size: 14px; font-weight: 550; color: rgba(255,255,255,.82); transition: color .2s; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px; background: var(--lime); transition: right .25s var(--ease); }
.primary-nav a:hover { color: var(--white); }
.primary-nav a:hover::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--lime); color: var(--forest-deep); font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--lime-deep); transform: translateY(-1px); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: var(--white); }
.menu-toggle span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 76px 0 0; z-index: 1190; flex-direction: column; gap: 0; padding: 30px; background: var(--forest-deep); color: var(--white); }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 560; letter-spacing: -.03em; }
.mobile-nav .mobile-cta { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--lime); color: var(--forest-deep); text-align: center; font-size: 1rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: 132px 0 64px; }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper-light); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.hero h1 { max-width: 620px; font-size: clamp(2.6rem, 4.4vw, 4rem); color: var(--ink); }
.hero h1 span { display: block; }
.hero h1 em { display: block; padding-bottom: 4px; line-height: 1.14; color: var(--forest); font-weight: 600; }
.hero-subtitle { max-width: 520px; margin: 26px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-capabilities li { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--forest); }
.hero-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4 / 5; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ── Partner badges (footer) ───────────────────────────────── */
.partner-badge { display: flex; align-items: center; justify-content: center; min-width: 128px; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); transition: transform .25s var(--ease), background .2s; }
a.partner-badge:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.partner-badge img { max-width: 108px; max-height: 32px; object-fit: contain; }
.partner-badge.is-placeholder { flex-direction: column; gap: 2px; border: 1.5px dashed var(--line-on-dark); background: transparent; }
.partner-badge-name { font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: var(--white); }
.partner-badge-tag { font-size: 10px; color: rgba(255,255,255,.55); }
.footer-partners { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-on-dark); }
.footer-partners .footer-label { margin-bottom: 14px; }
.footer-partners .partners-badges { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ── Studio / values bento ─────────────────────────────────── */
.studio { background: var(--paper-light); }
.values-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { padding: 40px; border-radius: var(--radius); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.value-card-1, .value-card-4 { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
.value-card-1 .value-icon, .value-card-4 .value-icon { margin: 0; }
.value-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 14px; background: var(--forest); color: var(--lime); }
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.3rem; color: var(--ink); }
.value-card p { margin: 12px 0 0; color: var(--muted); }
.value-card-1 h3, .value-card-4 h3 { margin: 0; }
.value-card-1 p, .value-card-4 p { grid-column: 2; margin-top: 6px; }

/* ── Services ──────────────────────────────────────────────── */
.services-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.service-card { position: relative; padding: 38px 34px; border-radius: var(--radius); min-height: 320px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.service-card-1 { background: var(--paper-light); border: 1px solid var(--line); }
.service-card-2 { background: var(--forest); color: var(--white); }
.service-card-3 { background: linear-gradient(160deg, #eef3d9, var(--paper-light)); border: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 14px; background: rgba(0,70,56,.08); color: var(--forest); }
.service-card-2 .service-icon { background: rgba(169,207,24,.16); color: var(--lime); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.4rem; }
.service-card-2 h3 { color: var(--white); }
.service-card p { margin: 14px 0 0; flex-grow: 1; color: var(--muted); font-size: .98rem; }
.service-card-2 p { color: rgba(255,255,255,.72); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-tags li { padding: 6px 12px; border-radius: 999px; background: rgba(0,70,56,.07); color: var(--forest); font-size: 11.5px; font-weight: 600; }
.service-card-2 .service-tags li { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.services-supporting { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-mini { display: flex; gap: 16px; padding: 26px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.service-mini-icon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(113,155,54,.12); color: var(--olive); }
.service-mini-icon svg { width: 20px; height: 20px; }
.service-mini h4 { font-size: 1rem; margin-bottom: 8px; }
.service-mini p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ── Work bento ────────────────────────────────────────────── */
.work { background: var(--paper-light); }
.work-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 20px; }
.work-tile { position: relative; grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; border-radius: var(--radius); overflow: hidden; color: var(--white); transition: transform .3s var(--ease); }
.work-tile:hover { transform: translateY(-4px); }
.work-tile-feature { grid-row: span 2; }
.work-tile-a { background: linear-gradient(155deg, var(--forest), var(--forest-deep)); }
.work-tile-b { background: linear-gradient(155deg, #4c6b2f, var(--forest)); }
.work-tile-c { background: linear-gradient(155deg, #5c7a63, #2f4a3c); }
.work-tile-d { background: linear-gradient(155deg, var(--coral), #b5543d); }
.work-tile-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work-tile:hover .work-tile-img { transform: scale(1.04); }
.work-tile-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,20,15,0) 38%, rgba(0,20,15,.8) 100%); }
.work-index, .work-tile-body, .work-arrow { position: relative; z-index: 2; }
.work-index { position: absolute; top: 28px; right: 32px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); }
.work-tile-body p { margin: 0 0 6px; color: rgba(255,255,255,.72); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.work-tile-body h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); max-width: 86%; }
.work-arrow { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 18px; transition: background .25s, transform .25s; }
.work-tile:hover .work-arrow { background: rgba(255,255,255,.16); transform: rotate(8deg); }
.work-more { display: flex; justify-content: center; margin-top: 44px; }

/* ── Process ───────────────────────────────────────────────── */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 6px; }
.process-line { position: absolute; left: 0; right: 0; top: -22px; height: 2px; background: var(--line); }
.process-line i { display: block; width: var(--process-progress, 0%); height: 100%; background: var(--lime); transition: width .15s linear; }
.process-step { padding: 28px 4px 0; }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 12px; font-weight: 700; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.testimonial-card { padding: 32px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testimonial-card:hover { transform: translateY(-4px) rotate(0deg) !important; box-shadow: var(--shadow-card); }
.testimonials-grid .testimonial-card:nth-child(3n+2) { transform: translateY(-16px) rotate(-1deg); }
.testimonials-grid .testimonial-card:nth-child(3n+3) { transform: translateY(8px) rotate(1deg); }
.testimonial-quote { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after { content: '\201D'; }
.testimonial-attribution { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testimonial-avatar { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 13px; font-weight: 700; }
.testimonial-name { font-weight: 700; color: var(--forest); font-size: .95rem; }
.testimonial-role { color: var(--muted); font-size: .85rem; }

/* ── Capabilities marquee ──────────────────────────────────── */
.capabilities-band { overflow: hidden; padding: 18px 0; color: var(--white); background: var(--forest-deep); }
.capabilities-track { display: flex; width: max-content; animation: bandMove 32s linear infinite; }
.capabilities-track span { display: flex; align-items: center; gap: 12px; padding-left: 26px; white-space: nowrap; color: rgba(255,255,255,.68); font-size: 13px; }
.capabilities-track b { color: var(--lime); font-weight: 600; }
.capabilities-track i { width: 4px; height: 4px; margin-left: 14px; border-radius: 50%; background: rgba(255,255,255,.3); }
@keyframes bandMove { to { transform: translateX(-50%); } }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.faq-intro h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); max-width: 380px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; cursor: pointer; font-size: 1.08rem; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: var(--forest); transition: transform .25s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item > p { max-width: 620px; margin: -6px 0 28px; color: var(--muted); }

/* ── CTA ───────────────────────────────────────────────────── */
.cta { padding: 108px 0; background: var(--forest); color: var(--white); }
.cta-inner { max-width: 760px; }
.cta h2 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); }
.cta h2 em { color: var(--lime); font-weight: 600; }
.cta p { max-width: 540px; margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; }
.contact-copy h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.contact-intro { margin: 20px 0 4px; font-weight: 600; color: var(--forest); }
.contact-copy > p:not(.contact-intro) { color: var(--muted); }
.contact-details { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-details a { font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line-strong); align-self: flex-start; }
.contact-details span { color: var(--muted); font-size: .95rem; }
.contact-form { padding: 48px; border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); }
.contact-form form { display: grid; gap: 20px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
.form-pair p { display: contents; }
.form-pair br { display: none; }
.contact-form label { display: grid; gap: 8px; width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(169,207,24,.16); }
.contact-form .wpcf7-submit,
.contact-form .action { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--lime); color: var(--forest-deep); font-weight: 600; font-size: .95rem; transition: transform .25s var(--ease), background .2s; }
.contact-form .wpcf7-submit:hover,
.contact-form .action:hover { background: var(--lime-deep); transform: translateY(-2px); }
.form-success { margin-bottom: 22px; padding: 14px 18px; border-radius: var(--radius-sm); border-left: 3px solid var(--olive); background: rgba(169,207,24,.16); font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { padding: 80px 0 26px; color: var(--white); background: var(--forest); }
.footer-main { display: grid; grid-template-columns: 1.4fr .55fr .8fr; gap: 80px; padding-bottom: 64px; }
.footer-statement img { width: 150px; height: 71px; object-fit: contain; margin-bottom: 20px; }
.footer-statement p { max-width: 460px; margin: 0; color: rgba(255,255,255,.62); }
.footer-availability { display: flex; align-items: center; gap: 9px; margin-top: 20px !important; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85) !important; max-width: none !important; }
.footer-availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(237,118,89,.22); }
.footer-label { margin-bottom: 16px; color: var(--lime) !important; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a { margin-bottom: 9px; color: rgba(255,255,255,.72); }
.footer-contact > a { display: inline-block; margin-bottom: 14px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.32); font-size: 1.05rem; }
.footer-contact .footer-location { color: rgba(255,255,255,.55); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); color: rgba(255,255,255,.45); font-size: 11.5px; }
.footer-bottom p { margin: 0; }

/* ── Projects archive ──────────────────────────────────────── */
.projects-archive { padding-top: 164px; background: var(--paper-light); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.project-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.project-card-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(155deg, var(--forest), var(--forest-deep)); }
.project-card-img { width: 100%; height: 100%; object-fit: cover; }
.project-card-body { padding: 26px 26px 30px; }
.project-card-cat { margin: 0 0 8px; color: var(--olive); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.project-card-body h2 { font-size: 1.25rem; color: var(--ink); }
.project-card-excerpt { margin: 12px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.project-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--forest); font-weight: 600; font-size: .9rem; }
.project-card-link span { transition: transform .25s var(--ease); display: inline-block; }
.project-card:hover .project-card-link span { transform: translate(2px,-2px); }
.projects-pagination { display: flex; justify-content: center; margin-top: 56px; }
.projects-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.projects-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.projects-pagination .page-numbers.current { background: var(--forest); color: var(--white); }
.projects-pagination .page-numbers:hover:not(.current) { background: var(--line-strong); }
.projects-empty { color: var(--muted); }

/* ── Single project ────────────────────────────────────────── */
.single-project-header { padding: 164px 0 40px; }
.single-project-back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.single-project-back:hover { color: var(--forest); }
.single-project-header h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--ink); }
.single-project-media { margin-bottom: 56px; }
.single-project-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.single-project-body { display: grid; grid-template-columns: 1fr .4fr; gap: 60px; padding-bottom: 120px; }
.single-project-content { max-width: 640px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.single-project-content p { margin: 0 0 20px; }
.single-project-content a { color: var(--forest); font-weight: 600; border-bottom: 1.5px solid var(--line-strong); }
.single-project-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ── Inner WordPress pages ─────────────────────────────────── */
.inner-page { min-height: 70vh; padding: 148px 0 100px; background: var(--paper-light); }
.inner-page > .shell { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.inner-page h1 { margin: 20px 0 36px; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.inner-page .page-content { color: var(--muted); line-height: 1.7; }
.post-card { padding: 32px 0; border-bottom: 1px solid var(--line); }
.entry-meta { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.not-found { display: grid; place-items: center; min-height: 75vh; padding: 140px 24px 80px; text-align: center; }
.not-found strong { color: var(--lime); font-size: 7rem; line-height: .8; }
.not-found h1 { margin: 20px 0 16px; }
.not-found p { max-width: 440px; margin: 0 auto 32px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .site-shell { width: min(calc(100% - 48px), 960px); }
    .primary-nav { gap: 20px; }
    .nav-cta { display: none; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-figure { order: -1; aspect-ratio: 16 / 9; }
    .services-featured, .services-supporting { grid-template-columns: repeat(2, 1fr); }
    .work-bento { grid-template-columns: repeat(2, 1fr); }
    .work-tile { grid-column: span 2; grid-row: span 1; }
    .work-tile-feature { grid-row: span 1; }
    .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .process-line { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card { transform: none; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .single-project-body { grid-template-columns: 1fr; gap: 32px; }
    .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 780px) {
    .site-shell { width: min(calc(100% - 32px), 640px); }
    .section-space { padding: 84px 0; }
    .nav-layout { grid-template-columns: 1fr auto; min-height: 68px; }
    .brand-image { width: 116px; height: 55px; }
    .primary-nav { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { top: 68px; }
    .hero { padding: 108px 0 48px; }
    .hero h1 { font-size: clamp(2.1rem, 6.8vw, 2.7rem); }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
    .values-bento, .services-featured, .services-supporting { grid-template-columns: 1fr; }
    .value-card-1, .value-card-4 { grid-template-columns: 1fr; }
    .value-card-1 p, .value-card-4 p { grid-column: 1; }
    .work-bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .work-tile, .work-tile-feature { grid-column: span 1; grid-row: span 1; }
    .process-track { grid-template-columns: 1fr; row-gap: 32px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .projects-archive, .single-project-header { padding-top: 128px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-statement { grid-column: 1 / -1; }
    .contact-form { padding: 32px 24px; }
    .form-pair { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { grid-template-columns: 1fr; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

