/*
Theme Name: Ink Your Fit
Description: Custom printing storefront for Everything Finds Inc.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: inkyourfit
*/
:root {
    --paper: #f9f8f4;
    --ink: #151514;
    --muted: #54554e;
    --line: #dbdbd1;
    --acid: #dcfc47;
    --gutter: clamp(18px, 5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.55; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #477300; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(100% - var(--gutter) * 2, 1330px); margin-inline: auto; }
.skip-link, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus, .screen-reader-text:focus { z-index: 10; top: 8px; left: 8px; width: auto; height: auto; padding: 12px; clip-path: none; background: white; color: black; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; font-size: 1.45rem; font-weight: 950; letter-spacing: -.075em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 9px; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 1.3rem; line-height: 1; letter-spacing: 0; }
.brand-accent { font-style: italic; }
.brand-dot { color: #5a7000; }
.header-inner nav { display: flex; gap: 28px; font-size: .89rem; font-weight: 650; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.cart-link { display: inline-flex; align-items: center; gap: 16px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 6px; font-weight: 750; text-decoration: none; font-size: .88rem; }
.hero { overflow: hidden; background: var(--ink); color: white; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(26px, 6vw, 110px); align-items: center; padding-block: clamp(40px, 7vw, 100px); }
.eyebrow { font: 700 .75rem/1.4 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--acid); }
.hero h1 { margin: 23px 0; font-size: clamp(4rem, 9.5vw, 9.25rem); line-height: .82; letter-spacing: -.09em; font-weight: 950; }
.hero h1 em { color: var(--acid); }
.hero-description { max-width: 390px; color: #e3e3db; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.button.primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 28px; padding: 13px 19px; border-radius: 6px; background: var(--acid); color: var(--ink); font-weight: 850; text-decoration: none; }
.button.primary:hover { background: #efffa5; }
.hero-photo { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; aspect-ratio: 1.12; border-radius: 8px; background: #eeeee8; color: var(--ink); }
.hero-photo img, .product-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-photo img { position: absolute; inset: 7% 10%; width: 80%; height: 80%; }
.photo-tag, .hero-photo figcaption { position: absolute; z-index: 1; font: 700 .65rem/1.25 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.photo-tag { top: 14px; left: 14px; background: var(--acid); padding: 7px 10px; border-radius: 3px; }
.hero-photo figcaption { bottom: 14px; right: 14px; }
.product-section { padding-block: clamp(42px, 7vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 13px 24px; margin-bottom: 28px; }
.section-head > p { color: var(--muted); }
h2 { margin-top: 10px; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: .98; font-weight: 900; letter-spacing: -.06em; word-spacing: .055em; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.7vw, 25px); }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.product-photo { position: relative; aspect-ratio: 1.16; background: #efefe9; flex: none; }
.product-photo img { position: absolute; inset: 8%; width: 84%; height: 84%; }
.product-number { position: absolute; z-index: 1; top: 12px; left: 12px; font: 700 .7rem/1 ui-monospace, monospace; }
.product-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(12px, 1.6vw, 21px); }
.product-copy h3, .steps h3 { font-size: clamp(1.1rem, 1.65vw, 1.5rem); line-height: 1.18; letter-spacing: -.045em; }
.product-copy p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.product-copy .swatches { display: flex; align-items: center; gap: 6px; margin: auto 0 14px; padding-top: 14px; font-size: .77rem; }
.swatches span { width: 12px; height: 12px; border: 1px solid #b3b3a8; border-radius: 50%; }
.swatches .black { background: #151515; border-color: #151515; }
.swatches .white { background: white; }
.product-action { display: flex; justify-content: space-between; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 800; }
.product-action.pending { color: var(--muted); font-weight: 550; }
.how { padding-block: clamp(42px, 6vw, 80px); background: var(--acid); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0; margin: 28px 0 0; list-style: none; }
.steps li { padding-top: 15px; border-top: 1px solid var(--ink); }
.steps li > span { font: 700 .8rem/1 ui-monospace, monospace; }
.steps h3 { margin: 10px 0 5px; }
.steps p { max-width: 28ch; }
.site-footer { padding-block: 35px; background: var(--ink); color: white; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.footer-inner p, .footer-inner small { color: #d5d5ce; font-size: .83rem; }
.footer-inner p { margin-top: 10px; }
.footer-inner address { display: grid; gap: 4px; font-style: normal; }
.site-footer .brand-dot { color: var(--acid); }
.content { padding-block: clamp(25px, 5vw, 65px); min-height: 45vh; }
.content h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.065em; margin-bottom: 20px; }
.content p { margin-bottom: .9em; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce select, .woocommerce .quantity input { padding: 8px; border: 1px solid #9c9c91; border-radius: 4px; background: #fff; color: var(--ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--ink); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: #343431; color: white; }
.iyf-upload { padding: 14px; margin: 14px 0; border: 1px dashed #9c9c91; border-radius: 6px; }
.iyf-upload label { display: block; font-weight: 800; }
.iyf-upload p { font-size: .85rem; margin: 4px 0 8px; }
.iyf-upload input { max-width: 100%; }
@media (max-width: 880px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
    .header-inner { flex-wrap: wrap; gap: 8px 15px; padding-block: 12px; }
    .header-inner nav { order: 3; flex-basis: 100%; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: clamp(3.65rem, 13vw, 6rem); }
    .hero-photo { max-width: 450px; }
    .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--acid); }
.woocommerce-product-gallery__image--placeholder img { max-height: 640px; object-fit: contain; }
