/*
Theme Name: Cut Fold Pack
Theme URI: https://cutfoldpack.com
Author: Cut Fold Pack Private Limited
Description: Custom theme for the Cut Fold Pack packaging structural design studio. Fast, lightweight and built for Google and AI search.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: cfp
*/
:root {
  --base: #FFF6DE; --surface: #FEE5A8; --raised: #F5C9AE;
  --line: rgba(29, 58, 63, 0.16);
  --text: #1D3A3F; --text-soft: #3D5458;
  --gold: #F4795B; --gold-strong: #E9674A; --mint: #3F8E90; --on-gold: #1D3A3F;
  --accent: #B03A22; --ink: #1D3A3F;
  --butter: #FEE5A8; --peach: #F5C9AE; --menthe: #C3E3D6; --marigold: #FDC45E; --coral: #F4795B; --teal: #86BFBE;
  color-scheme: light;
  --maxw: 1180px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-family: 'Hanken Grotesk', 'Segoe UI', -apple-system, sans-serif;
  background: var(--base);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 100px); }
body { margin: 0; background: var(--base); color: var(--text); -webkit-font-smoothing: antialiased; font-size: 1.0625rem; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.65; color: var(--text-soft); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
img, svg { max-width: 100%; display: block; }
.sr { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: 1.5px solid var(--gold); cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--base); color: var(--text); border-color: var(--base); }
.btn-dark:hover { background: var(--surface); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--base) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 12px 28px; max-width: var(--maxw); margin: 0 auto; }
.brand img { height: 72px; width: auto; }
@media (max-width: 900px) { .brand img { height: 58px; } }
.navlinks { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; margin-left: auto; }
.navlinks > a, .mega-btn { text-decoration: none; color: var(--text-soft); background: none; border: 0; font: inherit; cursor: pointer; padding: 8px 0; }
.navlinks > a:hover, .mega-btn:hover, .navlinks > a.active { color: var(--text); }
.mega-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: -24px; width: min(860px, 90vw); display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.mega.open { display: grid; }
.mega h4, .mobile-menu h4 { font-family: 'Hanken Grotesk'; font-size: 0.9rem; color: var(--gold); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.mega a, .mobile-menu a { display: block; text-decoration: none; color: var(--text); padding: 7px 0; font-size: 0.95rem; }
.mega a:hover, .mobile-menu a:hover { color: var(--gold-strong); }
.nav-cta { padding: 9px 20px; font-size: 0.88rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); color: var(--text); border-radius: 30px; padding: 8px 18px; font: inherit; font-size: 0.9rem; cursor: pointer; }
.mobile-menu { padding: 8px 28px 28px; max-height: 75vh; overflow-y: auto; }
.mobile-menu > div { padding: 16px 0; border-top: 1px solid var(--line); }
.mm-main a { font-size: 1.1rem; font-weight: 600; }
@media (max-width: 900px) { .navlinks, .nav-cta { display: none; } .menu-btn { display: inline-block; } }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 56px; } }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; max-width: 13ch; letter-spacing: -0.035em; }
.hero-sub { margin-top: 24px; font-size: 1.15rem; max-width: 50ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
}

/* Trust */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--maxw); margin: 0 auto; }
.trust-item { padding: 26px 28px; display: flex; align-items: baseline; gap: 14px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-num { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 2rem; color: var(--gold); letter-spacing: -0.03em; }
.trust-label { font-size: 0.95rem; color: var(--text-soft); }
@media (max-width: 720px) { .trust-inner { grid-template-columns: 1fr; } .trust-item { border-left: none; border-top: 1px solid var(--line); } .trust-item:first-child { border-top: none; } }

/* Bands */
.band { padding: 88px 0 0; }
.page > .band:last-of-type, .page > .cta-wrap { padding-bottom: 96px; }
.block-head { max-width: 680px; margin-bottom: 44px; }
.block-head h2, .h2, .prose h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.block-head p { margin-top: 14px; }
.more { margin-top: 40px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 30px 26px 34px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 26px; }
.pillar:last-child { border-right: none; }
.pillar h3 { font-size: 1.6rem; color: var(--gold); }
.pillar > p { margin-top: 12px; font-size: 0.98rem; min-height: 4.9em; }
.pillar ul { list-style: none; margin: 22px 0 0; padding: 0; }
.pillar li a { display: block; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.pillar li a:hover { color: var(--gold-strong); }
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar + .pillar { padding: 30px 22px 30px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar:nth-child(even) { padding-left: 0; border-left: none; } }

/* Positioning */
.position { background: var(--surface); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.position h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.position .lead { margin-top: 20px; font-size: 1.1rem; }
.point { padding: 22px 0; border-top: 1px solid var(--line); }
.point:first-child { border-top: none; padding-top: 0; }
.point h3 { font-size: 1.25rem; }
.point p { margin-top: 8px; }
@media (max-width: 900px) { .position { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; } }

/* Placeholders + work */
.ph { width: 100%; aspect-ratio: 4/3; border-radius: 22px; background: var(--raised); border: 1px dashed rgba(29,58,63,0.3); display: flex; align-items: flex-end; padding: 16px; }
.ph span { font-size: 0.8rem; color: var(--text-soft); }
.ph.tall { aspect-ratio: 4/3.4; }
.ph.video { aspect-ratio: 16/9; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 24px; }
.work-card { grid-column: span 2; text-decoration: none; display: block; }
.work-card.feature { grid-column: span 3; }
.work-grid.even .work-card { grid-column: span 2; }
.work-card h3 { font-size: 1.2rem; margin-top: 16px; }
.work-card.feature h3 { font-size: 1.4rem; }
.work-card p { margin-top: 6px; font-size: 0.93rem; }
.work-card:hover h3 { color: var(--gold-strong); }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-card, .work-card.feature, .work-grid.even .work-card { grid-column: span 1; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
/* Project images */
.shot { margin: 0; position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; background: var(--raised); border: 1px solid var(--line); }
.shot.tall { aspect-ratio: 4/3.4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 0.7s cubic-bezier(.2,.7,.2,1), opacity 0.5s ease; opacity: 0; }
.shot img.in { opacity: 1; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244,121,91,0); transition: box-shadow 0.4s ease; pointer-events: none; }
.work-card:hover .shot img, .work-card:focus-visible .shot img { transform: scale(1.045); }
.work-card:hover .shot::after, .work-card:focus-visible .shot::after { box-shadow: inset 0 0 0 1.5px var(--gold); }
.work-card h3 { text-wrap: balance; }
.work-card .work-line { margin-top: 6px; color: var(--text); }
.work-card .work-cat { margin-top: 6px; font-size: 0.85rem; color: var(--gold); }
.work-count { margin-top: 28px; font-size: 0.9rem; }
@media (max-width: 560px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -28px; margin-right: -28px; padding: 0 28px 6px; scrollbar-width: none; } .filters .chip { flex: none; } }
.page.play .work-grid .work-card { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(min(var(--i, 0), 8) * 60ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .page.play .work-grid .work-card { animation: none; }
  .shot img { transition: none; }
  .work-card:hover .shot img, .work-card:focus-visible .shot img { transform: none; }
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { background: none; color: var(--text); border: 1px solid var(--line); border-radius: 40px; padding: 9px 18px; font: inherit; font-size: 0.93rem; cursor: pointer; }
.chip.on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* Industries, tags */
.industries, .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.industries span, .tags li { border: 1px solid var(--line); border-radius: 40px; padding: 9px 17px; font-size: 0.93rem; }
.tags { list-style: none; margin: 0; padding: 0; }

/* Guide + forms */
.guide { border: 1px solid var(--line); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.guide h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.guide p { margin-top: 14px; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; padding: 32px 24px; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
input, select, textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--base); color: var(--text); font: inherit; font-size: 0.95rem; }
.inline-form input { flex: 1 1 220px; width: auto; min-width: 0; border-radius: 40px; padding: 13px 18px; }
::placeholder { color: var(--text-soft); }
.form-msg { margin-top: 12px; font-size: 0.9rem; color: var(--mint); min-height: 1.4em; }

/* CTA */
.cta { background: var(--gold); color: var(--on-gold); border-radius: 28px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 18ch; }
.cta .btn:focus-visible { outline-color: var(--base); }
.page > section.band:last-child { padding-bottom: 96px; }
@media (max-width: 700px) { .cta { padding: 40px 28px; } }

/* Service + inner pages */
.svc-hero, .page-hero { padding: 40px 0 16px; }
.page-hero { padding: 72px 0 8px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; max-width: 20ch; letter-spacing: -0.03em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--text-soft); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
.pillar-label { color: var(--gold); font-weight: 600; margin-bottom: 14px; }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.prose p { margin-top: 18px; max-width: 62ch; }
.split aside h3 { font-size: 1.1rem; margin-bottom: 16px; color: var(--gold); }
.split aside { padding-top: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--gold); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: block; text-decoration: none; background: var(--surface); border-radius: 20px; padding: 26px; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.25rem; }
.rel span { display: block; font-family: 'Hanken Grotesk'; font-size: 0.85rem; font-weight: 500; color: var(--gold); margin-bottom: 18px; }
.rel:hover { background: var(--raised); }
@media (max-width: 800px) { .rel-grid { grid-template-columns: 1fr; } }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.person { padding: 20px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: none; padding-top: 0; }
.person h3 { font-size: 1.2rem; }
.person p { font-size: 0.93rem; }
.person a { display: inline-block; margin-top: 6px; color: var(--gold); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.form-card { background: var(--surface); border-radius: 28px; padding: 40px; }
.form-card h2 { font-size: 1.8rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.form-grid label { font-size: 0.9rem; color: var(--text-soft); display: grid; gap: 8px; }
.form-grid .full { grid-column: 1 / -1; }
.map { aspect-ratio: 21/8; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } .map { aspect-ratio: 4/3; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.post-cat { margin-top: 16px; font-size: 0.85rem; color: var(--gold); }
.post h3 { font-size: 1.25rem; margin-top: 8px; }
.post h3 + p { margin-top: 8px; font-size: 0.9rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 0.8fr; gap: 36px; }
.foot-col img { height: 104px; width: auto; }
.foot-col > p { margin-top: 16px; max-width: 28ch; font-size: 0.93rem; }
.foot-col h4 { font-family: 'Hanken Grotesk'; font-size: 0.95rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; letter-spacing: 0; }
.foot-col a { display: block; font-size: 0.93rem; text-decoration: none; color: var(--text-soft); margin-bottom: 9px; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-soft); flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.faq-split { grid-template-columns: 0.8fr 1.2fr; } @media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }
.map-card { background: var(--surface); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.map-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.map-card p { margin: 14px 0 26px; }
.map-art { background: var(--raised); border-radius: 20px; overflow: hidden; }
@media (max-width: 860px) { .map-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Project pages, LinkedIn icon, active map */
.shot img { object-position: var(--pos, 50% 50%); }
.shot.natural { aspect-ratio: auto; max-width: min(100%, var(--w, 1124px)); }
.shot.natural img { height: auto; object-fit: contain; }
.proj-fig { margin-top: 44px; }
.page-hero .pillar-label { margin-bottom: 14px; }
.page-hero .hero-sub { max-width: 62ch; }
.prose .hero-ctas { margin-top: 30px; }
.li-icon { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.16em; margin-right: 9px; fill: currentColor; }
.map-art { display: block; }
.map-art:hover { outline: 1.5px solid var(--gold); }

/* ===== Palette: butter / peach / mint / marigold / coral / teal ===== */
:root { --ink-soft: rgba(29,58,63,0.86); --ink-line: rgba(29,58,63,0.22); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: var(--accent); }
/* Buttons */
.btn-gold:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #FFF6DE; border-color: var(--ink); }
.btn-dark:hover { background: #2B5157; border-color: #2B5157; }
/* Accent text: a deeper coral so it stays readable on cream */
.mega h4, .mobile-menu h4, .pillar h3, .work-card .work-cat, .post-cat, .pillar-label, .split aside h3, .steps li::before, .faq summary::after, .person a, .foot-col h4 { color: var(--accent); }
.mega a:hover, .mobile-menu a:hover, .pillar li a:hover, .work-card:hover h3 { color: var(--accent); }
/* Nav menu */
.mega { background: #FFFBEF; box-shadow: 0 24px 60px rgba(29,58,63,0.16); }
/* Hero dieline card */
/* More breathing room between an inner-page intro and the blue strip */
.page-hero + .trust { margin-top: 72px; }
@media (max-width: 720px) { .page-hero + .trust { margin-top: 48px; } }
/* Strip under the hero */
.trust { background: var(--teal); border-color: var(--teal); }
.trust-item { border-left-color: var(--ink-line); }
.trust-num { color: var(--ink); }
.trust-label { color: var(--ink-soft); }
@media (max-width: 720px) { .trust-item { border-top-color: var(--ink-line); } }
/* Positioning panel */
.position { background: var(--marigold); }
.position h2, .position .point h3 { color: var(--ink); }
.position .lead, .position .point p { color: var(--ink-soft); }
.position .point { border-top-color: var(--ink-line); }
/* Placeholders, tags, chips */
.ph { border-color: rgba(29,58,63,0.3); }
.industries span, .tags li { background: var(--butter); border-color: transparent; }
.chip:hover { border-color: var(--ink); }
/* Guide + forms */
.guide { background: var(--menthe); border-color: transparent; }
input, select, textarea { background: #FFFBEF; color: var(--ink); border-color: rgba(29,58,63,0.28); }
::placeholder { color: #5E7578; }
.form-card { background: var(--menthe); }
.form-msg { color: var(--ink); font-weight: 600; }
/* Related-service cards cycle through the palette */
.rel { --c: var(--menthe); background: var(--c); transition: transform .25s ease; }
.rel:nth-child(3n+2) { --c: var(--peach); }
.rel:nth-child(3n) { --c: var(--butter); }
.rel:hover { background: var(--c); transform: translateY(-3px); }
.rel span { color: var(--text-soft); }
/* Map */
.map-card { background: var(--peach); }
.map-art { background: var(--menthe); }
/* CTA block */
.cta { background: var(--coral); color: var(--ink); }
.cta h2 { color: var(--ink); }
.cta .btn:focus-visible { outline-color: #FFF6DE; }
/* Footer: deep teal-ink to anchor the page */
footer { background: var(--ink); border-top: 0; --text: #FFF6DE; --text-soft: #BFD3CB; --line: rgba(255,246,222,0.16); --accent: var(--marigold); }

/* ===== Headings: Fraunces (readable, warm serif) ===== */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); max-width: 14ch; letter-spacing: -0.02em; line-height: 1.08; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -0.015em; }
.svc-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -0.015em; }
.block-head h2, .h2, .prose h2, .position h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.trust-num { letter-spacing: -0.01em; }

/* ===== Work section heading: banner image ===== */
.faq p a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq p a:hover { text-decoration-thickness: 2px; }

/* ===== Hero picture with a hand-drawn outline that draws itself ===== */
.hero-art { margin: 0; }
.hero-img { width: 100%; height: auto; display: block; border-radius: 22px; }
.block-head.center-head { max-width: none; text-align: center; margin-bottom: 56px; }
.sw-title { font-size: clamp(1.9rem, 6.4vw, 4.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.vid { --c: var(--teal); position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--c); transition: transform .25s ease; }
.vid:nth-child(3n+2) { --c: var(--peach); }
.vid:nth-child(3n) { --c: var(--menthe); }
.vid::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(29,58,63,.06) 0 .35rem, transparent .35rem .7rem); }
.vid-play { position: absolute; left: 50%; top: 44%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .25s ease; }
.vid-play svg { width: 26px; height: 26px; margin-left: 4px; fill: #FFF6DE; }
.vid:hover { transform: translateY(-3px); }
.vid:hover .vid-play, .vid:focus-visible .vid-play { transform: scale(1.1); }
.vid-title { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 600; font-size: .95rem; }
.vid-title span:last-child { font-weight: 500; font-size: .85rem; opacity: .8; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .vid, .vid-play { transition: none; } .vid:hover { transform: none; } }

.sr-stats { background: var(--surface); border-radius: 28px; padding: 14px 32px; display: grid; }
.sr-stats > div { padding: 22px 0; border-top: 1px solid var(--line); }
.sr-stats > div:first-child { border-top: none; }
.sr-num { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--gold); line-height: 1.1; }
.sr-stats span:last-child { display: block; margin-top: 6px; }
.sr-model p { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 400; font-size: 0.98rem; margin-top: 12px; color: var(--ink); }
.sr-model { cursor: default; }
.sr-model:hover { transform: none; }

/* Services mega menu: anchor to the header bar so it never runs past the right edge of the screen */
.nav-inner { position: relative; }
.has-mega { position: static; }
.mega { left: auto; right: 28px; width: min(860px, calc(100% - 56px)); max-width: calc(100vw - 32px); box-sizing: border-box; }

/* YouTube thumbnails: loaded from YouTube on the live site; cards keep the coloured play-button look if a thumbnail cannot load */
.vid img.vid-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vid .vid-play, .vid .vid-title { z-index: 3; }
.vid.has-thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(29,58,63,.82), rgba(29,58,63,0) 55%); }
.vid.has-thumb .vid-title { color: #FFF6DE; }
.svc-card p { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 400; font-size: 0.98rem; margin-top: 12px; color: var(--ink); }

/* WordPress theme additions */
.shot img { opacity: 1; animation: cfpFade .5s ease both; }
@keyframes cfpFade { from { opacity: 0; } to { opacity: 1; } }
.sr-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #FFF6DE; padding: 10px 16px; border-radius: 0 0 8px 0; }
.sr-link:focus { left: 0; }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg.ok { color: #1f6b4a; font-weight: 600; }
.form-msg.err { color: var(--accent); font-weight: 600; }
.post-link { text-decoration: none; color: inherit; display: block; }
.post-link:hover h3 { text-decoration: underline; }
.article { max-width: 760px; margin: 0 auto; }
.article .prose p, .article .prose li { font-size: 1.0625rem; }
.article .prose h2 { margin-top: 36px; }
.article .prose h3 { margin-top: 28px; }
.article .prose ul, .article .prose ol { color: var(--text-soft); line-height: 1.65; padding-left: 1.2em; }
.article .prose img { border-radius: 16px; height: auto; margin: 24px 0; }
.article .prose a { color: var(--accent); }
.post-meta { margin-top: 14px; font-size: 0.9rem; color: var(--text-soft); }
.pager { display: flex; gap: 16px; justify-content: center; margin-top: 40px; }
.wp-block-image img, .alignwide { max-width: 100%; height: auto; }
