/* =====================================================================
TQ ART — PORTFOLIO STYLES
Paste this whole file into:
Appearance > Customize > Additional CSS
(Block themes: Appearance > Editor > Styles > ⋮ > Additional CSS)
===================================================================== */
/* OPTIONAL: a web font. To use it, remove the comment marks around the
next line AND change –tq-font below to “DM Sans”, … */
/* @import url(“https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap”); */
/* ———- 1. YOUR COLOURS & FONT (edit here) ———- */
:root{
–tq-ink:#141414; /* text / black */
–tq-paper:#F7F4EE; /* warm off-white background */
–tq-red:#F2452D; /* colour block 1 */
–tq-blue:#2A3BD9; /* colour block 2 */
–tq-yellow:#FFC71F; /* colour block 3 */
–tq-font:”Helvetica Neue”,Helvetica,”Segoe UI”,Arial,system-ui,sans-serif;
–tq-gap:12px; /* padding between thumbnails */
–tq-ratio:4/5; /* thumbnail shape: 1/1 square, 4/5 portrait, 3/2 landscape */
}
/* ———- 2. FULL-WIDTH BASE (breaks out of the theme’s narrow column) ———- */
.tq-site{
box-sizing:border-box;position:relative;
width:100vw !important;max-width:100vw !important;
margin-left:calc(50% – 50vw) !important;margin-right:calc(50% – 50vw) !important;
margin-top:0 !important;margin-bottom:0 !important;padding:0 !important;
background:var(–tq-paper);color:var(–tq-ink);
font-family:var(–tq-font);font-size:16px;line-height:1.5;
-webkit-font-smoothing:antialiased;
}
.tq-site *,.tq-site *::before,.tq-site *::after{box-sizing:border-box}
.tq-site h1,.tq-site h2,.tq-site h3,.tq-site p,.tq-site ul,.tq-site figure{margin:0;padding:0;font-family:inherit;color:inherit;text-transform:none}
.tq-site ul{list-style:none}
.tq-site a{color:inherit;text-decoration:none;box-shadow:none;border-bottom:0}
.tq-site img{display:block;max-width:100%;height:auto;border-radius:0;box-shadow:none}
.tq-site :focus-visible,.tq-lb :focus-visible{outline:3px solid var(–tq-blue);outline-offset:3px}
body:has(.tq-site){overflow-x:clip;background:var(–tq-paper)}
/* ———- 3. HIDE THE THEME’S OWN TITLE / HEADER / FOOTER ON THESE PAGES ———-
(Only pages containing the TQ ART code are affected. Delete this block
if you would rather keep your theme’s header and footer.) */
body:has(.tq-site) .wp-site-blocks > header,
body:has(.tq-site) .wp-site-blocks > footer,
body:has(.tq-site) header.wp-block-template-part,
body:has(.tq-site) footer.wp-block-template-part,
body:has(.tq-site) #masthead,body:has(.tq-site) #colophon,
body:has(.tq-site) .site-header,body:has(.tq-site) .site-footer,
body:has(.tq-site) #site-header,body:has(.tq-site) #site-footer,
body:has(.tq-site) .entry-header,body:has(.tq-site) .page-header,
body:has(.tq-site) .wp-block-post-title,body:has(.tq-site) .entry-title:not(.tq-title),
body:has(.tq-site) .wp-block-post-featured-image,body:has(.tq-site) .post-thumbnail{display:none !important}
body:has(.tq-site) .wp-site-blocks,body:has(.tq-site) main,body:has(.tq-site) .site-content,
body:has(.tq-site) .entry-content,body:has(.tq-site) .wp-block-post-content,
body:has(.tq-site) .content-area,body:has(.tq-site) article{padding-top:0 !important;padding-bottom:0 !important;margin-top:0 !important;margin-bottom:0 !important;max-width:none !important}
/* ———- 4. BRANDMARK ———- */
.tq-mark{display:block;width:100%;height:auto;overflow:visible}
.tq-mark__disc{fill:var(–mk-disc,var(–tq-red))}
.tq-mark__t,.tq-mark__eyes{stroke:var(–mk-t,var(–tq-paper))}
.tq-mark__tail{stroke:var(–mk-tail,var(–tq-ink))}
/* ———- 5. NAVIGATION (inner pages) ———- */
.tq-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(14px,2vw,24px) clamp(16px,3vw,40px)}
.tq-brand{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:1rem;letter-spacing:.06em}
.tq-brand .tq-mark{width:42px;flex:none}
.tq-links{display:flex;flex-wrap:wrap;gap:clamp(16px,3vw,36px)}
.tq-links a{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:6px 0;border-bottom:2px solid transparent;transition:border-color .2s}
.tq-links a:hover,.tq-links a[aria-current=”page”]{border-bottom-color:currentColor}
/* ———- 6. PAGE 1 — LANDING ———- */
.tq-home{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);min-height:100vh;min-height:100svh}
.tq-home__main{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(20px,3vw,44px)}
.tq-home__word{font-size:clamp(3.4rem,13vw,13rem);font-weight:800;line-height:.8;letter-spacing:-.055em;padding-bottom:.06em;white-space:nowrap}
.tq-home .tq-links{gap:clamp(18px,3vw,40px)}
.tq-home__block{background:var(–tq-red);display:flex;align-items:center;justify-content:center;padding:clamp(28px,5vw,72px);
–mk-disc:var(–tq-paper);–mk-t:var(–tq-ink);–mk-tail:var(–tq-ink)}
.tq-home__block .tq-mark{width:min(100%,440px)}
@media (max-width:760px){
.tq-home{grid-template-columns:1fr;grid-template-rows:minmax(38vh,auto) auto}
.tq-home__block{order:-1;min-height:44vh}
.tq-home__block .tq-mark{width:min(58%,260px)}
.tq-home__main{gap:48px}
.tq-home__word{font-size:19vw}
}
/* ———- 7. PAGE HEADERS (Work / About) ———- */
.tq-hero{display:flex;flex-direction:column;min-height:clamp(230px,36vh,380px)}
.tq-hero–blue{background:var(–tq-blue);color:var(–tq-paper);–mk-disc:var(–tq-paper);–mk-t:var(–tq-blue);–mk-tail:var(–tq-yellow)}
.tq-hero–yellow{background:var(–tq-yellow);color:var(–tq-ink);–mk-disc:var(–tq-red);–mk-t:var(–tq-paper);–mk-tail:var(–tq-ink)}
.tq-hero__body{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:clamp(24px,4vw,56px) clamp(16px,3vw,40px) clamp(18px,2.6vw,34px)}
.tq-hero__title{font-size:clamp(3.4rem,11vw,10rem);font-weight:800;line-height:.8;letter-spacing:-.05em;padding-bottom:.05em}
.tq-hero__note{max-width:28ch;font-size:.95rem;line-height:1.4}
/* ———- 8. PAGE 2 — THUMBNAIL GRID ———- */
.tq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense;gap:var(–tq-gap);padding:var(–tq-gap)}
@media (min-width:700px){.tq-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1100px){.tq-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tq-site .tq-tile{position:relative;display:block;overflow:hidden;aspect-ratio:var(–tq-ratio);background:var(–tq-tile,#E6E1D7);color:var(–tq-ink);cursor:zoom-in}
.tq-site .tq-tile.tq-c-red{–tq-tile:var(–tq-red);color:var(–tq-paper)}
.tq-site .tq-tile.tq-c-blue{–tq-tile:var(–tq-blue);color:var(–tq-paper)}
.tq-site .tq-tile.tq-c-yellow{–tq-tile:var(–tq-yellow);color:var(–tq-ink)}
.tq-site .tq-tile.tq-c-ink{–tq-tile:var(–tq-ink);color:var(–tq-paper)}
.tq-site .tq-tile.tq-c-sand{–tq-tile:#E6E1D7;color:var(–tq-ink)}
.tq-tile img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tq-tile:hover img,.tq-tile:focus-visible img{transform:scale(1.045)}
.tq-tile img[src^=”REPLACE”]{display:none} /* hides the placeholder until you add a real image */
.tq-tile__label{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
background:var(–tq-paper);color:var(–tq-ink);transform:translateY(101%);transition:transform .25s ease}
.tq-tile:hover .tq-tile__label,.tq-tile:focus-visible .tq-tile__label,
.tq-tile:has(img[src^=”REPLACE”]) .tq-tile__label{transform:none}
.tq-tile:has(img[src^=”REPLACE”]) .tq-tile__label{background:none;color:inherit;bottom:auto;top:0}
@media (min-width:700px){.tq-tile–feature{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}} /* first/main piece is double size; remove the class to make it normal */
.tq-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:28px clamp(16px,3vw,40px) 36px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600}
.tq-foot a{border-bottom:1px solid currentColor}
/* ———- 9. LIGHTBOX (created by the script on the Work page) ———- */
html.tq-lock{overflow:hidden}
.tq-lb{position:fixed;inset:0;z-index:999990;display:none;flex-direction:column;background:var(–tq-paper);color:var(–tq-ink);font-family:var(–tq-font);line-height:1.4}
.tq-lb.is-open{display:flex;animation:tqfade .25s ease both}
@keyframes tqfade{from{opacity:0}to{opacity:1}}
.tq-lb *{box-sizing:border-box}
.tq-lb__bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(14px,3vw,36px)}
.tq-lb__count{font-size:.78rem;font-weight:700;letter-spacing:.14em}
.tq-lb__stage{flex:1 1 auto;min-height:0;position:relative;margin:0 clamp(14px,3vw,36px)}
.tq-lb__img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;display:block}
.tq-lb__ph{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);aspect-ratio:4/5;max-width:100%;display:flex;align-items:center;justify-content:center;
color:var(–tq-paper);font-weight:800;font-size:clamp(1.2rem,3vw,2.4rem);letter-spacing:-.02em;text-align:center;padding:20px}
.tq-lb__title{font-size:1.05rem;font-weight:800;letter-spacing:-.01em}
.tq-lb__meta{font-size:.85rem;opacity:.7}
.tq-lb__btns{display:flex;gap:8px;flex:none}
.tq-lb button{font:inherit;cursor:pointer;border:0;border-radius:0;background:none;color:inherit;padding:0;margin:0;box-shadow:none;text-transform:none}
.tq-lb__close{background:var(–tq-red) !important;color:var(–tq-paper) !important;font-size:.78rem !important;font-weight:700 !important;letter-spacing:.14em;text-transform:uppercase !important;padding:11px 16px !important;transition:background .2s}
.tq-lb__close:hover{background:var(–tq-blue) !important}
.tq-lb__nav{width:46px;height:46px;border:2px solid var(–tq-ink) !important;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.tq-lb__nav:hover{background:var(–tq-ink);color:var(–tq-paper)}
.tq-lb__nav[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.tq-lb.is-open{animation:none}.tq-tile img{transition:none}}
/* ———- 10. PAGE 3 — ABOUT ———- */
.tq-about{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,6vw,96px);padding:clamp(28px,5vw,80px) clamp(16px,3vw,40px)}
.tq-portrait{position:sticky;top:24px;align-self:start;aspect-ratio:4/5;background:var(–tq-red);color:var(–tq-paper);overflow:hidden;display:flex;align-items:flex-end;padding:16px}
.tq-portrait img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.tq-portrait img[src^=”REPLACE”]{display:none}
.tq-portrait span{position:relative;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.tq-text .tq-statement{font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.14;font-weight:700;letter-spacing:-.025em;max-width:24em;margin-bottom:clamp(22px,3vw,40px) !important}
.tq-text p{max-width:62ch;margin-bottom:1.1em !important;font-size:1.02rem}
.tq-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px clamp(20px,3vw,48px);margin-top:clamp(28px,4vw,56px);padding-top:28px;border-top:3px solid var(–tq-ink)}
.tq-facts h3{font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px !important}
.tq-facts li{padding:7px 0;border-bottom:1px solid rgba(20,20,20,.18);font-size:.95rem}
@media (max-width:860px){.tq-about{grid-template-columns:1fr}.tq-portrait{position:relative;top:0;max-width:440px}.tq-facts{grid-template-columns:1fr}}
/* ———- 11. CONTACT FORM ———- */
.tq-contact{background:var(–tq-ink);color:var(–tq-paper);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,6vw,96px);padding:clamp(36px,6vw,96px) clamp(16px,3vw,40px);scroll-margin-top:0}
.tq-contact__title{font-size:clamp(2.6rem,7vw,6.5rem);font-weight:800;line-height:.85;letter-spacing:-.05em;margin-bottom:24px !important;color:var(–tq-yellow) !important}
.tq-contact__info p{max-width:34ch;margin-bottom:1em !important}
.tq-contact__info a{border-bottom:1px solid currentColor}
.tq-form{display:grid;gap:22px}
.tq-form label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 0 6px}
.tq-form input,.tq-form select,.tq-form textarea,.tq-contact input,.tq-contact select,.tq-contact textarea{
display:block;width:100%;max-width:100%;margin:0;padding:10px 0 12px;font:inherit;font-size:1.05rem;color:var(–tq-paper);background:transparent !important;
border:0 !important;border-bottom:2px solid rgba(247,244,238,.45) !important;border-radius:0 !important;box-shadow:none !important;outline:0;transition:border-color .2s}
.tq-form textarea,.tq-contact textarea{min-height:150px;resize:vertical}
.tq-form select option{color:var(–tq-ink)}
.tq-form input:focus,.tq-form select:focus,.tq-form textarea:focus,.tq-contact input:focus,.tq-contact textarea:focus{border-bottom-color:var(–tq-yellow) !important}
.tq-form input::placeholder,.tq-form textarea::placeholder{color:rgba(247,244,238,.4)}
.tq-form__row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.tq-form__trap{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.tq-form button,.tq-contact button[type=”submit”],.tq-contact input[type=”submit”]{justify-self:start;width:auto;font:inherit;font-size:.82rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
color:var(–tq-paper) !important;background:var(–tq-red) !important;border:0 !important;border-radius:0 !important;padding:18px 34px !important;cursor:pointer;transition:background .2s,color .2s}
.tq-form button:hover,.tq-contact button[type=”submit”]:hover,.tq-contact input[type=”submit”]:hover{background:var(–tq-yellow) !important;color:var(–tq-ink) !important}
.tq-form button[disabled]{opacity:.5;cursor:wait}
.tq-form__status{min-height:1.5em;font-size:.95rem;margin:0}
.tq-form__status.is-ok{color:var(–tq-yellow)}
@media (max-width:860px){.tq-contact{grid-template-columns:1fr}.tq-form__row{grid-template-columns:1fr}}