/* Design Solutions — static site styles. No external resources.
   Direction: print-shop punk. Flyers taped to the wall, halftone dots,
   off-register ink. Kept to a hint: body text stays straight and calm. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("fonts/special-elite.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* Brand colours from the Design Solutions logo */
  --ink: #363636;      /* charcoal */
  --rust: #833D0F;
  --cream: #FFFFDE;
  --tan: #EBE0B3;
  --paper: #F7F5EE;    /* page */
  --muted: #6B655C;
  --line: #D9D2BF;
  --tape: rgba(235, 224, 179, .82);
  --measure: 64ch;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --shout: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { max-width: 74rem; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Shared type: wide, heavy, slightly off-register */
.shout {
  font-family: var(--shout);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0;
  text-shadow: .05em .045em 0 var(--rust);
}
.note { font-family: "Special Elite", "Courier New", monospace; font-size: .95rem; color: var(--muted); }

/* Header */
.site-header { background: var(--paper); border-bottom: 3px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: block; text-decoration: none; }
.brand img { height: 5.25rem; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 700; font-stretch: 112%; padding: .35rem .1rem; background: linear-gradient(var(--rust), var(--rust)) no-repeat 0 100% / 0 4px; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 4px; }
.menu-toggle { display: none; }

@media (max-width: 52rem) {
  .brand img { height: 3.75rem; }
  .nav { position: relative; }
  .menu-toggle { display: block; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-weight: 800; font-stretch: 115%; text-transform: uppercase; border: 3px solid var(--ink); padding: .45rem .9rem; box-shadow: 3px 3px 0 var(--rust); background: var(--cream); }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle ul { position: absolute; right: 0; top: 3.4rem; flex-direction: column; gap: 0; background: var(--cream); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--rust); min-width: 13rem; z-index: 5; }
  .menu-toggle li a { display: block; padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: none; }
  .nav > ul.desktop { display: none; }
}

/* Buttons: block-printed, hard shadow */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 800; font-stretch: 115%; text-transform: uppercase; letter-spacing: .02em;
  background: var(--ink); color: var(--cream);
  padding: 1rem 1.5rem; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--rust);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--rust); }
.btn.secondary { background: var(--cream); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; }

/* Tape strip used on flyers and photos */
.taped { position: relative; }
.taped::before {
  content: ""; position: absolute; z-index: 2; top: -.8rem; left: 50%;
  width: 6.5rem; height: 1.6rem; transform: translateX(-50%) rotate(-3deg);
  background: var(--tape);
  clip-path: polygon(3% 8%, 0 30%, 4% 52%, 0 74%, 3% 100%, 97% 92%, 100% 70%, 96% 48%, 100% 26%, 97% 0);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* Home hero: the poster wall */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.7rem); animation: register .7s cubic-bezier(.2,.8,.2,1) .15s both; }
.hero .note { margin: 1.4rem 0 0; }
.hero p.lede { max-width: 42ch; font-size: 1.2rem; margin: .6rem 0 2rem; }

@keyframes register {
  from { text-shadow: .22em .16em 0 var(--rust); }
  to   { text-shadow: .05em .045em 0 var(--rust); }
}

.wall { position: relative; min-height: 30rem; }
.wall::before { /* halftone fade behind the flyers */
  content: ""; position: absolute; inset: 6% -6% 0 4%;
  background-image: radial-gradient(circle, var(--rust) 1.4px, transparent 1.8px);
  background-size: 11px 11px; opacity: .28;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.wall figure { position: absolute; margin: 0; background: #fff; padding: .55rem .55rem 2rem; box-shadow: 0 10px 22px rgba(54,54,54,.18); width: 62%; }
.wall figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.wall figcaption { position: absolute; left: .7rem; right: .7rem; bottom: .4rem; font-family: "Special Elite", monospace; font-size: .85rem; color: var(--muted); }
.wall .f1 { top: 0; left: 0; transform: rotate(-4deg); }
.wall .f2 { top: 26%; right: 0; transform: rotate(3deg); }
.wall .f3 { bottom: 0; left: 12%; transform: rotate(-1.5deg); }
.sticker {
  position: absolute; z-index: 3; top: -1.2rem; right: 6%;
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--rust); color: var(--cream);
  border: 3px dashed var(--cream); outline: 3px solid var(--rust);
  transform: rotate(10deg);
  font-family: var(--shout); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 1;
}
.sticker b { display: block; font-size: 2.1rem; }
.sticker span { font-size: .78rem; letter-spacing: .04em; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .wall { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: 1rem; }
  .wall figure { position: relative; width: auto; inset: auto; }
  .wall .f3 { display: none; }
  .wall figure { padding-bottom: .55rem; }
  .wall figcaption { position: static; margin-top: .4rem; font-size: .78rem; line-height: 1.3; }
  .sticker { top: -1.5rem; right: -.25rem; width: 5.5rem; height: 5.5rem; }
  .sticker b { font-size: 1.5rem; }
  .sticker span { font-size: .62rem; }
}

/* Services as two flyers */
.flyers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.flyer { background: var(--cream); border: 3px solid var(--ink); padding: 0 0 1.6rem; }
.flyer:nth-child(1) { transform: rotate(-.6deg); }
.flyer:nth-child(2) { transform: rotate(.5deg); }
.flyer img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; border-bottom: 3px solid var(--ink); }
.flyer h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 1.3rem 1.5rem .7rem; }
.flyer p { margin: 0 1.5rem 1.1rem; max-width: 44ch; }
.flyer a.more { margin: 0 1.5rem; font-weight: 800; font-stretch: 112%; }
@media (max-width: 52rem) { .flyers { grid-template-columns: 1fr; } .flyer:nth-child(n) { transform: none; } }

/* Who we work with: stickers */
.clients { padding-bottom: clamp(3rem, 7vw, 5rem); }
.clients h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.2rem; }
.client-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.client-list li { border: 3px solid var(--ink); padding: .5rem 1.05rem; font-weight: 800; font-stretch: 112%; background: var(--cream); box-shadow: 3px 3px 0 var(--tan); }
.client-list li:nth-child(odd) { transform: rotate(-2deg); }
.client-list li:nth-child(even) { transform: rotate(1.5deg); }
.clients p { max-width: var(--measure); margin-top: 1.6rem; }

/* Catalog band with torn top edge */
.catalogs { position: relative; background: var(--ink); color: var(--cream); padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); margin-top: 1rem; }
.catalogs::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--ink);
  clip-path: polygon(0.0% 4.5px, 1.5% 9.1px, 2.9% 7.5px, 4.9% 0.8px, 7.2% 0.5px, 9.4% 1.0px, 10.8% 5.9px, 13.8% 1.7px, 15.5% 8.8px, 18.8% 8.1px, 20.8% 13.7px, 22.1% 12.0px, 24.0% 2.0px, 25.4% 4.3px, 28.4% 2.5px, 30.9% 8.9px, 32.9% 7.7px, 34.3% 0.8px, 35.9% 9.5px, 38.1% 4.4px, 40.5% 6.3px, 42.4% 11.1px, 45.1% 3.4px, 47.6% 7.4px, 50.7% 10.2px, 52.6% 13.7px, 54.0% 5.9px, 56.9% 2.1px, 59.2% 0.5px, 61.8% 10.7px, 64.3% 12.3px, 66.2% 9.7px, 68.7% 8.1px, 70.9% 11.8px, 74.2% 6.6px, 76.8% 0.8px, 79.6% 9.1px, 83.0% 11.5px, 84.8% 5.4px, 87.5% 0.3px, 89.7% 2.4px, 91.1% 0.8px, 94.0% 1.8px, 95.8% 5.5px, 98.9% 1.1px, 100% 6px, 100% 100%, 0 100%);
}
.catalogs h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-shadow: .05em .045em 0 var(--rust); margin-bottom: .9rem; }
.catalogs > .wrap > p { max-width: var(--measure); margin: 0 0 2rem; opacity: .9; }
.catalog-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0 2rem; }
.catalog-list a { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 0; border-top: 1px dashed rgba(235,224,179,.45); text-decoration: none; font-weight: 700; font-stretch: 112%; }
.catalog-list a:hover span { color: var(--tan); text-decoration: underline; }
.catalog-list small { color: var(--tan); opacity: .85; font-weight: 400; font-stretch: 100%; font-size: .88rem; }
.catalogs :focus-visible { outline-color: var(--tan); }

/* Inner pages */
.page-head { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: 2.25rem; }
.page-head h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); animation: register .7s cubic-bezier(.2,.8,.2,1) .1s both; }
.page-head p { max-width: var(--measure); font-size: 1.15rem; margin: 1.1rem 0 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2.4rem 1.6rem; padding-top: .8rem; padding-bottom: 4.5rem; }
.gallery figure { margin: 0; background: #fff; padding: .5rem .5rem .7rem; box-shadow: 0 6px 16px rgba(54,54,54,.14); transition: transform .15s ease; }
.gallery figure:nth-child(3n+1) { transform: rotate(-1.2deg); }
.gallery figure:nth-child(3n+2) { transform: rotate(.9deg); }
.gallery figure:nth-child(3n) { transform: rotate(-.4deg); }
.gallery figure:hover, .gallery figure:focus-within { transform: rotate(0) scale(1.02); }
.gallery a { display: block; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; background: var(--line); }
.gallery figcaption { font-family: "Special Elite", monospace; font-size: .92rem; color: var(--ink); margin-top: .55rem; line-height: 1.35; }
.gallery-empty { border: 3px dashed var(--muted); padding: 2.5rem; max-width: 40rem; margin-bottom: 4rem; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; padding-bottom: 4.5rem; align-items: start; }
.contact-grid h2 { font-size: 1.2rem; font-stretch: 112%; margin: 0 0 .8rem; }
.contact-card { background: var(--cream); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--rust); padding: 1.6rem 1.8rem 1.8rem; transform: rotate(.6deg); }
.contact-grid dl { margin: 0; }
.contact-grid dt { font-weight: 800; font-stretch: 112%; margin-top: 1.1rem; }
.contact-grid dt:first-child { margin-top: 0; }
.contact-grid dd { margin: .2rem 0 0; font-size: 1.1rem; }
.quote-list { margin: 0 0 2rem; padding-left: 1.2rem; max-width: 46ch; }
.quote-list li { margin-bottom: .45rem; }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } .contact-card { transform: none; } }

/* Footer */
.site-footer { border-top: 3px solid var(--ink); padding: 2rem 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { font-weight: 700; }

.todo { background: var(--tan); padding: 0 .3em; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

.hero .btn { padding: .95rem 1.2rem; font-size: .98rem; }

/* ---- WordPress additions (not in the static build) ---- */
.entry { padding-bottom: 4.5rem; }
.entry > p, .entry > ul, .entry > ol, .entry > h2, .entry > h3 { max-width: var(--measure); }
.entry > .gallery { padding-bottom: 0; }
.contact-grid .entry-content > ul { margin: 0 0 2rem; padding-left: 1.2rem; max-width: 46ch; }
.contact-grid .entry-content > ul li { margin-bottom: .45rem; }
.post-list { list-style: none; padding: 0; margin: 0 0 4.5rem; }
.post-list li { border-top: 1px dashed var(--line); padding: 1rem 0; font-weight: 700; }
