/*
Theme Name: Campbell Signs
Description: Wabi-sabi child theme of Twenty Twenty-Five for Campbell Sign Installers.
Template: twentytwentyfive
Version: 1.0.0
Author: Campbell Sign Installers
License: GPL-2.0-or-later
Text Domain: campbell-signs
*/

/* Paper grain: a quiet, hand-made texture */
body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .16 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
h1,h2,h3,h4{text-wrap:balance}
a{text-underline-offset:.2em;text-decoration-thickness:1px}
::selection{background:var(--wp--preset--color--clay);color:#fff}

/* Header */
.csi-header{border-bottom:1px solid rgba(43,41,38,.18)}
.csi-header .wp-block-site-logo img{height:auto;width:auto;max-width:230px}
.csi-header .wp-block-navigation{font-size:.95rem;letter-spacing:.02em}

/* Buttons: ink-stamped, slightly uneven corners */
.wp-block-button__link{border-radius:4px 7px 5px 8px!important;letter-spacing:.03em;transition:background .2s,color .2s,transform .2s}
.wp-block-button__link:hover{transform:translateY(-1px)}
.is-style-outline>.wp-block-button__link{border-width:1px}

/* Hand-drawn feeling dividers & cards */
.csi-rule{border:0;height:2px;width:4rem;background:var(--wp--preset--color--clay);margin-right:auto!important;border-radius:2px;transform:rotate(-.6deg)}
.csi-card{border:1px solid rgba(43,41,38,.22);border-radius:6px 11px 7px 12px;background:rgba(255,255,255,.4);transition:transform .25s}
.csi-card:nth-child(even){border-radius:11px 6px 12px 7px}
.csi-card:hover{transform:translateY(-3px) rotate(-.15deg)}
.csi-card h3{margin-top:0}
.csi-price{font-family:var(--wp--preset--font-family--serif);font-size:2.4rem;line-height:1;color:var(--wp--preset--color--clay);margin:0}
.csi-hero{position:relative;overflow:hidden}
.csi-hero h1{text-shadow:0 2px 24px rgba(0,0,0,.35)}
.csi-hero .is-style-outline>.wp-block-button__link{border-color:rgba(251,248,241,.85);color:#fbf8f1}
.csi-hero .is-style-outline>.wp-block-button__link:hover{background:#fbf8f1;color:#2b2926}
.csi-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{background:#fbf8f1;color:#2b2926}
.csi-steps{counter-reset:s;list-style:none;padding:0;margin:0}
.csi-steps li{counter-increment:s;padding-left:3.2rem;position:relative;margin-bottom:1.4rem}
.csi-steps li::before{content:counter(s);position:absolute;left:0;top:-.2rem;font-family:var(--wp--preset--font-family--serif);font-size:2rem;color:var(--wp--preset--color--clay)}
.csi-cta-band{border-radius:8px 14px 9px 15px}
.csi-footer a{color:inherit}
.csi-menu-table table{border-collapse:collapse;width:100%}
.csi-menu-table td{border:0;border-bottom:1px solid rgba(43,41,38,.2);padding:.8rem .25rem}
.csi-menu-table td.csi-n,.csi-menu-table td:last-child{text-align:right;font-family:var(--wp--preset--font-family--serif);font-size:1.25rem;color:var(--wp--preset--color--clay);white-space:nowrap}
.csi-menu-table tr:first-child td{border-top:1px solid rgba(43,41,38,.2)}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Hero: align inner panel with the page's wide column (same left edge as header and sections) */
.wp-block-cover.csi-hero.csi-hero.has-custom-content-position .wp-block-cover__inner-container{width:100%;max-width:var(--wp--style--global--wide-size,1200px);margin-inline:auto;padding-inline:0}
.csi-hero .wp-block-cover__inner-container>.wp-block-group{margin-inline:0!important}
/* Accent rule sits on the wide column's left edge too */
.csi-rule{margin-left:max(0px,calc((100% - var(--wp--style--global--wide-size,1200px))/2))!important}

/* Hero on tablet & phone: photo (with the sign) sits on top, unobstructed; text sits on the dark panel below */
@media(max-width:1100px){
.wp-block-cover.csi-hero{--hh:clamp(280px,75vw,560px);min-height:0!important;background-color:#23201d;align-items:flex-start!important;padding-top:calc(var(--hh) + 2.25rem)!important}
.wp-block-cover.csi-hero .wp-block-cover__image-background{height:var(--hh);bottom:auto;object-position:94% 50%!important}
.wp-block-cover.csi-hero .wp-block-cover__background{background:linear-gradient(180deg,rgba(35,32,29,0) 0,rgba(35,32,29,0) calc(var(--hh) - 110px),#23201d var(--hh))!important}
.csi-hero .wp-block-cover__inner-container>.wp-block-group{margin-inline:0!important}
}

/* Emphasis that actually reads as emphasis */
strong,b{font-weight:700}
.wp-block-list li{margin-bottom:.5em}
.wp-block-list li::marker{color:var(--wp--preset--color--accent-1)}
h3,h4{font-weight:600}
.csi-footer .wp-block-heading{font-weight:600}

/* "Just have a question?" band + links on dark CTA */
.csi-ask-band{border:1px dashed rgba(43,41,38,.4);border-radius:8px 14px 9px 15px;gap:1.25rem}
.csi-ask-band h3{margin:0 0 .35rem}
.csi-ask-band p{margin:0}
.csi-cta-band a:not(.wp-block-button__link){color:#fbf8f1;text-decoration:underline}
.wp-block-buttons + .wp-block-heading{margin-top:var(--wp--preset--spacing--60)}

.csi-menu-table th{text-align:right;font-weight:600;font-size:.85rem;padding:.6rem .25rem;border-bottom:2px solid var(--wp--preset--color--contrast,#2B2926)}.csi-menu-table th:first-child{text-align:left}.csi-menu-table td.csi-n{font-size:1.1rem}
