/* Wren & Copper v3 — original styles for a j6 Front Porch Websites sample. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --paper: #f4efe7; --paper-2: #ebe3d7; --card: #fffdf9;
  --ink: #13202c; --ink-2: #44505c; --line: rgba(19, 32, 44, .12);
  --copper: #c8784a; --copper-deep: #8a4520; --copper-text: #8a4520;
  --blue: #1d6aa8; --blue-soft: #7cc4f5;
  --navy: #101c27; --navy-2: #182a3a;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 76rem; --r: 1.4rem;
  --float: 0 1px 1px rgba(19,32,44,.05), 0 8px 18px -6px rgba(19,32,44,.10), 0 30px 60px -24px rgba(19,32,44,.22);
  --ease: cubic-bezier(.2,.8,.2,1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  background: var(--paper);
  background-image:
    radial-gradient(1100px 620px at 92% -6%, rgba(200,120,74,.16), transparent 60%),
    radial-gradient(900px 520px at -10% 30%, rgba(124,196,245,.14), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: clip;
}
/* subtle paper grain, generated by an inline SVG filter (no image file) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .32; mix-blend-mode: multiply;
  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 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer, .site-header { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--copper-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: .6rem; }
.skip:focus { top: 2.6rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin: 0; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.32rem; letter-spacing: -.01em; }
em { font-style: italic; }
p { margin: 0; }

.sample-bar { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; text-align: center; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; padding: .62rem 1rem; }

/* Header */
.site-header { position: sticky; top: 1.94rem; z-index: 60; padding: .85rem 0; transition: background .35s, box-shadow .35s, padding .35s; }
.site-header.is-stuck { background: rgba(244,239,231,.82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); padding: .55rem 0; }
.header-in { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.3rem; height: 2.3rem; }
.brand-name { font: 600 1.32rem/1 var(--display); letter-spacing: -.02em; }
.brand-name em { color: var(--copper-text); }
.nav { display: flex; gap: .3rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: 99px; transition: background .25s; }
.nav a:hover { background: rgba(19,32,44,.07); }
.head-call { display: inline-flex; align-items: center; gap: .55rem; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: .62rem 1rem; border-radius: 99px; font-size: .95rem; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(19,32,44,.6); transition: transform .25s var(--ease); }
.head-call:hover { color: #fff; transform: translateY(-2px); }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #3fcf8e; box-shadow: 0 0 0 0 rgba(63,207,142,.5); animation: live 2.6s ease-out infinite; flex: none; display: inline-block; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63,207,142,.55); } 70%, 100% { box-shadow: 0 0 0 .55rem rgba(63,207,142,0); } }

/* Hero */
.hero { padding: clamp(1.5rem, 5vw, 4.5rem) 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .88rem; color: var(--ink-2); background: rgba(255,253,249,.7); border: 1px solid var(--line); padding: .45rem .85rem; border-radius: 99px; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 6.6rem); font-weight: 600; line-height: .96; letter-spacing: -.035em; }
.hero h1 .ln { display: block; }
.hero h1 em { color: var(--copper-text); font-weight: 500; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 34rem; margin: 1.4rem 0 1.9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn { --tx: 0px; --ty: 0px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; text-decoration: none; font: 700 1rem/1.1 var(--sans); border-radius: 99px; border: 0; cursor: pointer; transform: translate(var(--tx), var(--ty)); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.96); }
.btn-call { background: linear-gradient(180deg, #a3532a, #84401c); color: #fff; padding: .7rem 1.6rem .7rem .7rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 30px -10px rgba(138,69,32,.65), 0 2px 4px rgba(138,69,32,.3); }
.btn-call:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 40px -12px rgba(138,69,32,.75), 0 2px 4px rgba(138,69,32,.3); }
.btn-call-icon { position: relative; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.btn-call-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.btn-call-icon svg { width: 1.35rem; height: 1.35rem; }
.btn-call-text { display: flex; flex-direction: column; text-align: left; gap: .18rem; }
.btn-call-text strong { font-size: 1.28rem; letter-spacing: -.01em; }
.btn-call-text span { font-weight: 600; font-size: .92rem; opacity: .92; }
.btn-ghost { color: var(--ink); padding: 1.15rem 1.5rem; background: rgba(255,253,249,.75); box-shadow: inset 0 0 0 1.5px rgba(19,32,44,.22); }
.btn-ghost:hover { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--ink); color: #fff; padding: 1rem 1.5rem; }
.btn-dark:hover { background: #24384a; }
.emergency { margin-top: 1.2rem; color: var(--ink-2); font-size: .98rem; }
.emergency strong { color: var(--ink); }

.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 40rem; justify-self: end; }
.stage-glow { position: absolute; inset: 8% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,120,74,.24), rgba(124,196,245,.12) 55%, transparent 78%); filter: blur(10px); }
.stage-poster, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-poster { object-fit: contain; transition: opacity .8s ease; }
.stage-canvas { opacity: 0; transition: opacity .8s ease; }
.stage.is-live .stage-canvas { opacity: 1; }
.stage.is-live .stage-poster { opacity: 0; }
.chip { --px: 0px; --py: 0px; position: absolute; display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,253,249,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); color: var(--ink); font-weight: 700; font-size: .86rem; padding: .55rem .9rem .55rem .55rem; border-radius: 99px; box-shadow: var(--float); white-space: nowrap; transform: translate3d(var(--px), var(--py), 0); }
.chip-ico { width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: #f3dccb; color: var(--copper-deep); font-size: .85rem; }
.chip-ico-blue { background: #d9ecfa; color: #17507e; }
.chip-a { left: 0; top: 16%; }
.chip-b { right: 2%; top: 4%; }
.chip-c { right: 6%; bottom: 10%; }

.proof { list-style: none; padding: 0; margin-top: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof li { padding: 1.2rem 1rem 0 0; display: flex; flex-direction: column; gap: .15rem; }
.proof strong { font: 600 1.4rem/1.1 var(--display); letter-spacing: -.02em; }
.proof span { color: var(--ink-2); font-size: .92rem; }

/* Sections */
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 1rem; }
.kicker-light { color: #f2b98f; }
.sec-head { max-width: 44rem; margin-bottom: 3rem; }
.sec-intro { color: var(--ink-2); font-size: 1.12rem; margin-top: 1.1rem; max-width: 36rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; perspective: 1200px; }
.svc { position: relative; background: var(--card); border-radius: var(--r); padding: 1.8rem 1.6rem 1.7rem; box-shadow: var(--float); border: 1px solid rgba(19,32,44,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease); overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--copper), #e3a87e); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 1px 1px rgba(19,32,44,.05), 0 16px 30px -10px rgba(19,32,44,.16), 0 44px 80px -30px rgba(19,32,44,.3); }
.svc:hover::after { transform: scaleX(1); }
.svc-ico { width: 3.2rem; height: 3.2rem; margin-bottom: 1.4rem; padding: .55rem; border-radius: 1rem; background: var(--paper); overflow: visible; }
.svc-ico * { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.svc-ico .s-copper { stroke: var(--copper); } .svc-ico .s-ink { stroke: var(--ink); } .svc-ico .s-blue { stroke: var(--blue); }
.svc-ico .f-blue { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 2; }
.svc h3 { margin-bottom: .55rem; }
.svc p { color: var(--ink-2); }

.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.how-head { position: sticky; top: 8rem; }
.how-steps { position: relative; padding-left: 3.6rem; }
.pipe-line { position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 2.5rem; height: calc(100% - .8rem); overflow: visible; }
.pipe-track { stroke: #e2d5c6; stroke-width: 12; fill: none; stroke-linecap: round; }
.pipe-fill { stroke: url(#none); stroke: var(--copper); stroke-width: 12; fill: none; stroke-linecap: round; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; background: var(--card); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--float); position: relative; }
.step-n { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem/1 var(--display); background: var(--ink); color: #fff; }
.step h3 { margin: .3rem 0 .4rem; } .step p { color: var(--ink-2); }

.urgent { position: relative; background: radial-gradient(900px 500px at 80% 0%, #1f3a52, transparent 70%), var(--navy); color: #fff; padding: clamp(4.5rem, 11vw, 8.5rem) 0; overflow: hidden; border-radius: 2.2rem; margin: 0 clamp(.6rem, 2vw, 1.5rem); }
.urgent-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.urgent h2 { max-width: 18ch; font-size: clamp(2.3rem, 6vw, 4.6rem); }
.urgent-copy { color: #c9d6e2; font-size: 1.15rem; max-width: 34rem; margin: 1.2rem 0 2.2rem; }
.btn-call-xl { padding: .85rem 2.2rem .85rem .85rem; }
.btn-call-xl .btn-call-text strong { font-size: 1.55rem; }
.urgent-ripples { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
.urgent-ripples span { position: absolute; left: -24rem; top: -24rem; width: 48rem; height: 48rem; border-radius: 50%; border: 1px solid rgba(124,196,245,.18); animation: ripple 9s linear infinite; }
.urgent-ripples span:nth-child(2) { animation-delay: -3s; } .urgent-ripples span:nth-child(3) { animation-delay: -6s; }
@keyframes ripple { from { transform: scale(.2); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--card); box-shadow: var(--float); padding: .7rem 1.15rem; border-radius: 99px; font-weight: 600; }

.hours-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem; }
.panel { background: var(--card); border-radius: 1.8rem; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--float); }
.panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .95rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table td { text-align: right; color: var(--ink-2); }
.hours-note { margin-top: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-slot { background: repeating-linear-gradient(135deg, rgba(19,32,44,.025) 0 12px, transparent 12px 24px), var(--card); border: 2px dashed rgba(19,32,44,.18); box-shadow: none; display: flex; flex-direction: column; justify-content: center; }
.review-slot p { color: var(--ink-2); }
.stars-outline { width: 8rem; color: var(--copper); margin-bottom: 1rem; }

.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font: 600 1.25rem/1.25 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem; background: linear-gradient(var(--copper), var(--copper)) center/100% 2px no-repeat, linear-gradient(var(--copper), var(--copper)) center/2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 40rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.details { margin-top: 2rem; display: grid; gap: 1rem; }
.fine { font-size: .9rem; color: var(--ink-2); }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid rgba(19,32,44,.2); border-radius: .9rem; padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29,106,168,.18); }
.form-status { min-height: 1.4em; font-weight: 600; color: #1d6a45; }

.site-footer { padding: 4rem 0 6.5rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.foot-in { display: grid; gap: .4rem; color: var(--ink-2); }
.foot-brand { font: 600 clamp(2.4rem, 8vw, 5.5rem)/1 var(--display); color: var(--ink); letter-spacing: -.04em; margin-bottom: 1rem; }
.foot-brand em { color: var(--copper-text); }
.foot-sample { margin-top: 1rem; font-weight: 800; letter-spacing: .14em; font-size: .78rem; color: var(--ink); }

.callbar { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 80; display: none; gap: .5rem; padding: .45rem; border-radius: 99px; background: rgba(16,28,39,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 99px; font-weight: 800; text-decoration: none; color: #fff; }
.callbar-call { background: linear-gradient(180deg, #a3532a, #84401c); flex: 1.6 !important; }
.callbar-mail { background: rgba(255,255,255,.1); }
html.js .callbar { transform: translateY(160%); transition: transform .5s var(--ease); }
html.js .callbar.is-on { transform: none; }

/* Motion states: only applied after GSAP is ready (html.anim), so content never stays hidden */
html.anim [data-lines] .ln { overflow: hidden; }

@media (max-width: 900px) {
  .hero-grid, .how-grid, .area-grid, .hours-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .stage { justify-self: center; max-width: 30rem; margin-top: .5rem; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .how-head { position: static; }
  .proof { grid-template-columns: 1fr 1fr; row-gap: .5rem; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .nav { display: none; }
  .head-call { display: none; }
  .brand-name { font-size: 1.3rem; white-space: nowrap; }
  .hero { padding-top: 1.2rem; }
  .eyebrow { font-size: .8rem; margin-bottom: 1rem; }
  .lede { margin: 1.1rem 0 1.4rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-call { justify-content: flex-start; }
  .btn-ghost { padding: 1rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .chip { font-size: .78rem; }
  .chip-a { left: 0; top: auto; bottom: 6%; }
  .chip-b { right: 0; top: 2%; }
  .chip-c { display: none; }
  .how-steps { padding-left: 2.6rem; }
  .pipe-line { width: 1.6rem; }
  .callbar { display: flex; }
  .urgent { border-radius: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage-canvas { display: none; }
}
html.poster-mode body > *:not(main), html.poster-mode main > *:not(.hero), html.poster-mode .hero-copy, html.poster-mode .proof, html.poster-mode .chip, html.poster-mode .stage-glow { visibility: hidden; }
