/*
Theme Name: CreaseBox
Theme URI: https://github.com/linqw2016/CreaseBox
Author: CreaseBox
Description: An original, lightweight packaging studio theme with inquiry and WooCommerce support.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: creasebox
*/
:root {
	--canvas:#f7f5ef;
	--surface:#fff;
	--ink:#202c26;
	--green:#214c3a;
	--muted:#626d65;
	--line:#d6dace;
	--lime:#e3eab6;
	--serif:Georgia,"Times New Roman",serif;
	--width:1320px
}
* {
	box-sizing:border-box
}
html {
	scroll-behavior:smooth;
	scroll-padding-top:110px
}
body {
	margin:0;
	color:var(--ink);
	background:var(--canvas);
	font-family:Arial,Helvetica,sans-serif;
	font-size:16px;
	line-height:1.6;
	-webkit-font-smoothing:antialiased
}
a {
	color:inherit;
	text-underline-offset:5px
}
a:hover {
	text-decoration-thickness:2px
}
button,input,select,textarea {
	font:inherit
}
button,a,input,select,textarea {
	touch-action:manipulation
}
button {
	cursor:pointer
}
img {
	max-width:100%;
	height:auto;
	display:block
}
h1,h2,h3,p {
	margin-top:0
}
h1,h2,h3 {
	font-weight:500;
	line-height:1.06;
	letter-spacing:-.055em
}
h1 {
	font-size:clamp(3rem,6.6vw,6.1rem)
}
h2 {
	font-size:clamp(2.4rem,4.4vw,4.3rem)
}
h3 {
	font-size:1.65rem;
	letter-spacing:-.035em
}
p {
	margin-bottom:1.3rem
}
::selection {
	background:var(--lime);
	color:var(--green)
}
:focus-visible {
	outline:3px solid #9a552b;
	outline-offset:5px
}
.wrap {
	width:min(calc(100% - 96px),var(--width));
	margin-inline:auto
}
.section {
	padding-block:100px
}
.eyebrow {
	font-size:.72rem;
	font-weight:700;
	letter-spacing:.15em;
	text-transform:uppercase;
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:25px
}
.eyebrow:before {
	content:"";
	width:7px;
	height:7px;
	background:currentColor;
	border-radius:50%;
	flex:none
}
.muted {
	color:var(--muted)
}
.text-link {
	display:inline-flex;
	align-items:center;
	gap:20px;
	min-height:44px;
	font-size:.86rem;
	font-weight:600
}
.text-link span,.button span {
	font-size:1.25rem
}
.button {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:30px;
	min-height:50px;
	padding:12px 23px;
	background:var(--green);
	border:1px solid var(--green);
	color:white;
	text-decoration:none;
	font-size:.85rem;
	font-weight:600;
	border-radius:2px;
	transition:background .2s,transform .2s
}
.button:hover {
	background:#163b2b;
	transform:translateY(-2px)
}
.button.light {
	background:var(--lime);
	border-color:var(--lime);
	color:var(--ink)
}
.button.outline {
	color:var(--green);
	background:transparent
}
.button.outline:hover {
	background:#e8ebdf
}
.button:disabled {
	opacity:.55;
	cursor:wait;
	transform:none
}
.skip-link {
	position:fixed;
	left:16px;
	top:-100px;
	background:white;
	padding:12px 20px;
	z-index:100
}
.skip-link:focus {
	top:12px
}
.announcement {
	background:var(--green);
	color:#eaf0dc;
	text-align:center;
	padding:8px 20px;
	font-size:.67rem;
	letter-spacing:.09em
}
.site-header {
	position:sticky;
	top:0;
	z-index:30;
	background:rgba(247,245,239,.97);
	border-bottom:1px solid var(--line)
}
.header-inner {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:28px;
	min-height:94px
}
.brand {
	display:flex;
	align-items:center;
	gap:10px;
	font-size:1.5rem;
	font-weight:700;
	letter-spacing:-.06em;
	text-decoration:none;
	flex:none
}
.brand-mark {
	position:relative;
	width:28px;
	height:30px;
	border:2px solid currentColor;
	transform:skewY(-12deg)
}
.brand-mark:before {
	content:"";
	position:absolute;
	inset:5px;
	border-top:2px solid;
	border-right:2px solid;
	transform:rotate(35deg)
}
.brand-dot {
	color:#8e9b62
}
.desktop-nav {
	display:flex;
	align-items:center;
	gap:26px;
	margin-left:auto
}
.desktop-nav a {
	font-size:.78rem;
	text-decoration:none;
	min-height:44px;
	display:flex;
	align-items:center
}
.desktop-nav a:hover {
	text-decoration:underline
}
.header-cta {
	font-size:.76rem;
	min-height:44px;
	padding:10px 18px;
	gap:25px
}
.menu-toggle {
	display:none;
	border:1px solid var(--line);
	background:transparent;
	padding:10px 14px;
	min-height:44px
}
.hero {
	padding-block:62px 68px
}
.hero-grid {
	display:grid;
	grid-template-columns:1fr 1.04fr;
	align-items:center;
	gap:36px
}
.hero h1 {
	max-width:650px;
	margin-bottom:28px
}
.hero h1 em {
	font-family:var(--serif);
	font-weight:400;
	color:var(--green)
}
.hero-copy>p {
	font-size:.96rem;
	max-width:390px;
	color:var(--muted);
	line-height:1.85
}
.hero-actions {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:26px;
	margin-top:32px
}
.hero-note {
	font-size:.67rem!important;
	margin-top:25px;
	color:var(--muted)
}
.hero-visual {
	position:relative;
	background:#e6e9de;
	aspect-ratio:1/1.03;
	border-radius:3px;
	overflow:hidden
}
.hero-visual img {
	width:100%;
	height:100%;
	object-fit:cover
}
.visual-label {
	position:absolute;
	bottom:22px;
	left:24px;
	right:24px;
	display:flex;
	justify-content:space-between;
	font-size:.62rem;
	letter-spacing:.09em;
	text-transform:uppercase
}
.hero-stamp {
	position:absolute;
	right:17px;
	top:18px;
	border:1px solid #b2bba3;
	width:89px;
	height:89px;
	border-radius:50%;
	display:grid;
	place-content:center;
	text-align:center;
	line-height:1.6;
	font-size:.54rem;
	letter-spacing:.13em;
	transform:rotate(13deg)
}
.capability-strip {
	border-block:1px solid var(--line);
	padding-block:24px
}
.capabilities {
	display:flex;
	justify-content:space-between;
	gap:24px;
	align-items:center;
	flex-wrap:wrap
}
.capabilities span {
	font-size:.69rem;
	letter-spacing:.09em;
	text-transform:uppercase
}
.capabilities span:not(:first-child):before {
	content:"+";
	margin-right:14px;
	color:#7a8c72
}
.section-heading {
	display:flex;
	justify-content:space-between;
	align-items:end;
	gap:36px;
	margin-bottom:45px
}
.section-heading h2 {
	max-width:680px;
	margin-bottom:0
}
.section-heading>p {
	max-width:300px;
	font-size:.9rem;
	color:var(--muted);
	margin-bottom:4px
}
.section-heading .text-link {
	flex:none
}
.structures-grid {
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:18px
}
.structure-card {
	text-decoration:none;
	display:block
}
.structure-visual {
	position:relative;
	background:#e9e9df;
	aspect-ratio:1/1.04;
	overflow:hidden;
	border-radius:3px
}
.structure-card:nth-child(2) .structure-visual {
	background:#e6e4df
}
.structure-card:nth-child(3) .structure-visual {
	background:#e8e1d8
}
.structure-card:nth-child(4) .structure-visual {
	background:#e0e6dd
}
.structure-visual img {
	width:100%;
	height:100%;
	object-fit:contain;
	transition:transform .35s
}
.structure-card:hover img {
	transform:translateY(-6px) rotate(-2deg)
}
.structure-index {
	position:absolute;
	left:17px;
	top:14px;
	font-size:.62rem;
	letter-spacing:.1em
}
.structure-info {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-top:18px
}
.structure-info h3 {
	font-size:1.12rem;
	letter-spacing:-.025em;
	margin:0
}
.structure-info span {
	font-size:1.3rem
}
.structure-card p {
	color:var(--muted);
	font-size:.76rem;
	margin-top:6px
}
.dark-section {
	background:var(--green);
	color:var(--canvas)
}
.dark-section .eyebrow {
	color:var(--lime)
}
.approach {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:80px;
	align-items:center
}
.approach h2 {
	margin-bottom:25px
}
.approach .lead {
	max-width:440px;
	color:#d4dfd1;
	font-size:.95rem;
	line-height:1.9
}
.approach-list {
	border-top:1px solid #63816c
}
.approach-item {
	padding:26px 0;
	border-bottom:1px solid #63816c;
	display:grid;
	grid-template-columns:34px 1fr;
	gap:20px
}
.approach-item>span {
	font-size:.7rem;
	color:var(--lime);
	padding-top:5px
}
.approach-item h3 {
	font-size:1.4rem;
	margin-bottom:10px;
	letter-spacing:-.03em
}
.approach-item p {
	font-size:.84rem;
	color:#d4dfd1;
	margin:0;
	max-width:370px
}
.finish-grid {
	display:grid;
	grid-template-columns:1.1fr 1fr 1fr;
	gap:22px
}
.finish-card {
	background:#ebe7de;
	padding:34px;
	min-height:285px;
	display:flex;
	flex-direction:column;
	justify-content:space-between
}
.finish-card:nth-child(2) {
	background:#e0e5d7
}
.finish-card:nth-child(3) {
	background:#eee3da
}
.finish-swatch {
	font-family:var(--serif);
	font-size:3.5rem;
	line-height:1.4;
	text-align:center;
	padding-block:10px;
	letter-spacing:-.06em
}
.finish-swatch.foil {
	color:#8a6030;
	text-shadow:1px 1px #fff3d4
}
.finish-swatch.emboss {
	color:#56654c;
	text-shadow:1px 1px #f7faec,-1px -1px #c0c9b4
}
.finish-swatch.paper {
	font-size:2.5rem;
	color:#a86a4b;
	font-style:italic
}
.finish-card h3 {
	font-size:1rem;
	margin-bottom:8px;
	letter-spacing:-.02em
}
.finish-card p {
	font-size:.78rem;
	margin-bottom:0;
	color:var(--muted)
}
.concept-note {
	font-size:.7rem;
	color:var(--muted);
	margin-top:22px
}
.process {
	border-top:1px solid var(--line)
}
.steps {
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:35px
}
.step-number {
	display:block;
	color:#56714c;
	font-size:.7rem;
	border-top:1px solid #aeb8a1;
	padding-top:18px;
	margin-bottom:35px
}
.steps h3 {
	font-size:1.2rem;
	letter-spacing:-.025em
}
.steps p {
	color:var(--muted);
	font-size:.85rem;
	max-width:250px
}
.sample-banner {
	background:#e5e9d8;
	display:grid;
	grid-template-columns:1fr .8fr;
	align-items:center;
	padding:54px 60px;
	gap:40px;
	border-radius:3px
}
.sample-banner h2 {
	font-size:clamp(2.3rem,4vw,3.8rem);
	margin-bottom:20px
}
.sample-banner p {
	max-width:500px;
	font-size:.9rem
}
.sample-banner .button {
	justify-self:end
}
.faq-layout {
	display:grid;
	grid-template-columns:.8fr 1.2fr;
	gap:80px
}
.faq-list {
	border-top:1px solid var(--line)
}
details {
	border-bottom:1px solid var(--line);
	padding:22px 0
}
summary {
	cursor:pointer;
	font-size:.94rem;
	list-style:none;
	padding-right:30px;
	position:relative;
	min-height:30px
}
summary::-webkit-details-marker {
	display:none
}
summary:after {
	content:"+";
	position:absolute;
	right:0;
	font-size:1.3rem;
	top:-5px
}
details[open] summary:after {
	content:"-"
}
details p {
	font-size:.86rem;
	color:var(--muted);
	max-width:570px;
	margin:18px 0 0
}
.closing {
	padding:65px 0;
	background:var(--green);
	color:white
}
.closing-inner {
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:36px
}
.closing h2 {
	font-size:clamp(2.3rem,4vw,4rem);
	max-width:750px;
	margin-bottom:15px
}
.closing p {
	color:#d4dfd1;
	font-size:.9rem;
	margin:0
}
.site-footer {
	padding:55px 0 24px
}
.footer-top {
	display:grid;
	grid-template-columns:1.5fr 1fr 1fr;
	gap:45px;
	padding-bottom:45px
}
.footer-top .brand {
	margin-bottom:18px
}
.footer-top p {
	font-size:.8rem;
	color:var(--muted);
	max-width:300px
}
.footer-links strong {
	display:block;
	text-transform:uppercase;
	letter-spacing:.11em;
	font-size:.65rem;
	margin-bottom:15px
}
.footer-links a {
	display:block;
	text-decoration:none;
	font-size:.8rem;
	min-height:30px
}
.footer-links a:hover {
	text-decoration:underline
}
.footer-bottom {
	border-top:1px solid var(--line);
	padding-top:20px;
	display:flex;
	justify-content:space-between;
	gap:20px;
	font-size:.65rem;
	color:var(--muted)
}
.page-hero {
	padding-block:70px 45px;
	border-bottom:1px solid var(--line);
	margin-bottom:48px
}
.page-hero h1 {
	font-size:clamp(3rem,6vw,5rem);
	max-width:950px;
	margin-bottom:0
}
.page-content {
	padding-bottom:90px;
	min-height:35vh
}
.page-content>.entry-content {
	max-width:900px;
	margin-inline:auto
}
.page-content>.entry-content:has(.cb-quote),.page-content>.entry-content:has(.woocommerce),.page-content>.entry-content:has(.structures-grid) {
	max-width:none
}
.entry-content h2 {
	font-size:2.2rem;
	margin-top:45px
}
.entry-content h3 {
	font-size:1.4rem;
	margin-top:30px
}
.entry-content p,.entry-content li {
	line-height:1.85
}
.entry-content a:not(.button):not(.structure-card) {
	color:var(--green)
}
.entry-content ul {
	padding-left:22px
}
.entry-content .wp-block-image {
	margin:24px 0
}
.entry-content .wp-block-image img {
	border-radius:3px
}
.notice-card {
	background:#e5e9d8;
	padding:35px;
	border-left:3px solid var(--green)
}
.empty-state {
	max-width:760px;
	padding:40px;
	background:#e7ebdf;
	margin-block:30px
}
.empty-state h2 {
	margin-top:0
}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button.alt,.woocommerce button.button {
	background:var(--green);
	color:#fff;
	border-radius:2px;
	line-height:1.5
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size:1.25rem;
	letter-spacing:-.02em
}
.woocommerce ul.products li.product .price {
	color:var(--green)
}
.woocommerce div.product .product_title {
	font-size:3rem
}
.woocommerce input,.woocommerce select,.woocommerce textarea {
	padding:12px;
	border:1px solid #9eaa99
}
.local-preview {
	background:#e3eab6;
	color:#214c3a;
	text-align:center;
	padding:8px 20px;
	font-size:.72rem
}
.local-preview a {
	font-weight:bold
}
.post-list {
	display:grid;
	gap:30px
}
.post-card {
	padding:30px;
	border:1px solid var(--line)
}
.post-card h2 {
	font-size:2rem
}
.error-page {
	padding-block:100px;
	max-width:800px
}
@media(min-width:1500px) {
	.hero {
		padding-block:80px
	}
	.hero-visual {
		aspect-ratio:1.08
	}
}
@media(max-width:1100px) {
	.wrap {
		width:calc(100% - 56px)
	}
	.desktop-nav {
		gap:17px
	}
	.desktop-nav a {
		font-size:.73rem
	}
	.hero-grid {
		gap:25px
	}
	.hero-actions {
		gap:18px
	}
	.hero-actions .text-link {
		font-size:.75rem
	}
	.approach {
		gap:45px
	}
	.section {
		padding-block:75px
	}
	.section-heading>p {
		max-width:235px
	}
	.faq-layout {
		gap:50px
	}
	.structure-info h3 {
		font-size:.95rem
	}
	.sample-banner {
		padding:40px
	}
	.header-inner {
		gap:20px
	}
}
@media(max-width:850px) {
	.header-inner {
		min-height:78px
	}
	.desktop-nav {
		display:none;
		position:absolute;
		top:100%;
		left:0;
		right:0;
		padding:16px 28px;
		background:var(--canvas);
		border-bottom:1px solid var(--line);
		box-shadow:0 12px 18px #2034260a
	}
	.desktop-nav.is-open {
		display:grid
	}
	.desktop-nav a {
		font-size:.95rem
	}
	.menu-toggle {
		display:block;
		margin-left:auto
	}
	.header-cta {
		display:none
	}
	.hero h1 {
		font-size:clamp(3rem,7.5vw,4.5rem)
	}
	.hero-visual {
		aspect-ratio:1/1.25
	}
	.hero-actions .text-link {
		display:none
	}
	.structures-grid {
		grid-template-columns:repeat(2,1fr);
		gap:30px 20px
	}
	.structure-info h3 {
		font-size:1.15rem
	}
	.section-heading {
		align-items:start
	}
	.section-heading>p {
		display:none
	}
	.steps {
		grid-template-columns:repeat(2,1fr);
		gap:30px
	}
	.step-number {
		margin-bottom:22px
	}
	.finish-card {
		padding:25px
	}
	.finish-grid {
		gap:14px
	}
	.approach {
		grid-template-columns:1fr;
		gap:35px
	}
	.approach .lead {
		max-width:600px
	}
	.approach-list {
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:0 30px
	}
	.faq-layout {
		grid-template-columns:1fr;
		gap:25px
	}
	.sample-banner {
		grid-template-columns:1fr;
		gap:12px
	}
	.sample-banner .button {
		justify-self:start
	}
	.closing-inner {
		align-items:start;
		flex-direction:column
	}
	.footer-top {
		grid-template-columns:1.4fr 1fr;
		gap:25px
	}
	.footer-links:last-child {
		grid-column:2
	}
}
@media(max-width:540px) {
	.wrap {
		width:calc(100% - 40px)
	}
	.announcement {
		font-size:.6rem;
		padding-inline:12px
	}
	.hero {
		padding-block:35px 40px
	}
	.hero-grid {
		grid-template-columns:1fr;
		gap:35px
	}
	.hero h1 {
		font-size:3.6rem;
		letter-spacing:-.065em;
		margin-bottom:22px
	}
	.hero .eyebrow {
		margin-bottom:20px
	}
	.hero-copy>p {
		font-size:.88rem;
		max-width:340px
	}
	.hero-actions {
		margin-top:25px
	}
	.hero-actions .text-link {
		display:inline-flex
	}
	.hero-visual {
		aspect-ratio:1.12
	}
	.hero-note {
		margin-top:18px
	}
	.hero-stamp {
		width:72px;
		height:72px;
		font-size:.45rem
	}
	.section {
		padding-block:55px
	}
	.capabilities {
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:12px
	}
	.capabilities span {
		font-size:.57rem
	}
	.capabilities span:not(:first-child):before {
		display:none
	}
	.section-heading {
		gap:15px;
		margin-bottom:28px
	}
	.section-heading h2 {
		font-size:2.5rem
	}
	.section-heading .text-link {
		font-size:.7rem;
		gap:10px
	}
	.structures-grid {
		gap:25px 14px
	}
	.structure-visual {
		aspect-ratio:1/1.15
	}
	.structure-info {
		gap:5px
	}
	.structure-info h3 {
		font-size:.94rem
	}
	.structure-card p {
		font-size:.67rem;
		line-height:1.5
	}
	.structure-index {
		left:12px;
		top:10px
	}
	.approach-list {
		grid-template-columns:1fr
	}
	.approach-item {
		padding-block:22px
	}
	.finish-grid {
		grid-template-columns:1fr
	}
	.finish-card {
		min-height:220px
	}
	.finish-swatch {
		font-size:3.3rem
	}
	.steps {
		gap:25px 20px
	}
	.steps h3 {
		font-size:1.05rem
	}
	.steps p {
		font-size:.77rem
	}
	.sample-banner {
		padding:28px 25px
	}
	.sample-banner h2 {
		font-size:2.5rem
	}
	.sample-banner p {
		font-size:.82rem
	}
	.closing {
		padding-block:45px
	}
	.footer-top {
		grid-template-columns:1fr 1fr;
		gap:25px 15px
	}
	.footer-top>div:first-child {
		grid-column:1/-1
	}
	.footer-links:last-child {
		grid-column:auto
	}
	.footer-bottom {
		flex-direction:column;
		gap:7px
	}
	.page-hero {
		padding-block:40px 30px;
		margin-bottom:30px
	}
	.page-hero h1 {
		font-size:3rem
	}
	.page-content {
		padding-bottom:55px
	}
	.visual-label {
		font-size:.52rem;
		left:17px;
		right:17px;
		bottom:16px
	}
	.entry-content h2 {
		font-size:1.8rem
	}
	.entry-content p,.entry-content li {
		font-size:.9rem
	}
	.woocommerce div.product .product_title {
		font-size:2.2rem
	}
	.local-preview {
		font-size:.65rem
	}
}
@media(max-width:850px) {
	body .site-header a.header-cta {
		display:none
	}
}
@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior:auto
	}
	*,*:before,*:after {
		animation:none!important;
		transition:none!important
	}
}
