:root {
  --ink: #3a2416;
  --paper: #f4f0eb;
  --canvas: #fffcf8;
  --accent: #d28437;
  --muted: #59524b;
  --line: #d4c9bd;
  --teal: #4ec0bd;
  --blue: #295993;
  --deep-teal: #297065;
  --red: #ae3537;
  --on-dark: #f0e7dc;
  --focus: #295993;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; }
h1 { font-size: clamp(3rem, 7.6vw, 7.4rem); letter-spacing: -.067em; }
h2 { font-size: clamp(2.45rem, 5vw, 4.25rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); letter-spacing: -.038em; }
p + p { margin-top: .7rem; }
.wrap { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.narrow { max-width: 75rem; }
.skip { position: absolute; z-index: 5; top: .7rem; left: .7rem; background: white; padding: .65rem 1rem; transform: translateY(-170%); }
.skip:focus { transform: none; }
.header { --stripe-height: clamp(16px, 2vw, 28px); background: linear-gradient(90deg, var(--accent) 25%, var(--teal) 25% 50%, var(--blue) 50% 75%, var(--red) 75%) top / 100% var(--stripe-height) no-repeat var(--canvas); border-bottom: 1px solid var(--line); padding-top: var(--stripe-height); }
.header-inner { min-height: 5.35rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.25rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: clamp(10.6rem, 19vw, 14rem); }
nav { display: flex; justify-content: flex-end; gap: clamp(.65rem, 2.5vw, 2rem); flex-wrap: wrap; }
nav a, .header-contact { text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.header-contact { border: 1px solid var(--ink); padding: .55rem 1.05rem; }
.header-contact:hover, .header-contact[aria-current] { background: var(--ink); color: white; }
.hero { --focus: var(--teal); position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--canvas); padding: clamp(3.4rem, 7vw, 6.3rem) 0 3.75rem; }
.hero-copy { position: relative; }
.eyebrow { font-weight: 800; font-size: .79rem; text-transform: uppercase; letter-spacing: .125em; }
.hero .eyebrow { color: var(--on-dark); margin-bottom: 1.45rem; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.23rem); max-width: 39rem; }
.hero-subhead { max-width: 28rem; margin-top: 1.4rem; color: #efbe88; font: 600 clamp(1.4rem, 2.55vw, 2rem)/1.18 var(--serif); }
.hero .lead { max-width: 31rem; margin-top: 1rem; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: .73rem 1.12rem; min-height: 2.9rem; border: 1px solid transparent; font-size: .93rem; font-weight: 800; text-decoration: none; }
.primary { color: var(--ink); background: var(--accent); }
.primary:hover { color: white; background: var(--ink); border-color: currentColor; }
.outline { border-color: #cbbbae; color: var(--canvas); }
.outline:hover { background: var(--paper); color: var(--ink); }
figcaption { margin-top: .65rem; font-size: .83rem; }
.hero-gears {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 132%;
  object-fit: contain;
  object-position: right top;
  filter: grayscale(1) sepia(.75) brightness(1.65);
  mix-blend-mode: screen;
  opacity: .31;
  mask-image: linear-gradient(to right, transparent 12%, #000 73%), linear-gradient(to bottom, #000 24%, #0006 58%, transparent 76%);
  mask-composite: intersect;
  pointer-events: none;
}
.section { padding-block: clamp(3.5rem, 7vw, 6.1rem); }
.section h2 { margin-bottom: 1.6rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.05rem, 2.85vw, 2.35rem); }
.project > a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.project a:hover h3, .project a:hover .text-link { text-decoration: underline; }
.project-copy { flex: 1; padding-top: 1.15rem; display: flex; align-items: flex-start; flex-direction: column; gap: .45rem; }
.project-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: .4rem; }
.project-copy .project-client { font-weight: 750; margin: 0; }
.project-copy .text-link { margin-top: auto; }
.portfolio-art, .gallery-art { display: grid; place-items: center; background: #eee8df; }
.portfolio-art { aspect-ratio: 4 / 3; padding: 1rem; }
.portfolio-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.portfolio-more { margin-top: 2rem; }
.case-summary { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem 3rem; margin-bottom: 2.25rem; }
.case-summary dl { border-top: 1px solid var(--line); padding-top: .4rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery-art { padding: .8rem; }
.gallery-art img { max-height: 24rem; object-fit: contain; }
.project-gallery > figure:only-child { grid-column: 1 / -1; width: min(100%, 56rem); }
.project-gallery > figure:only-child img { max-height: 44rem; }
.text-link { font-weight: 750; text-decoration: underline; }
.services { background: var(--paper); }
.service-overview { background: #e4f2ee; }
.service-publishing { --service-color: var(--blue); --service-tint: #edf3fa; }
.service-sales { --service-color: var(--deep-teal); --service-tint: #eff8f3; }
.service-design { --service-color: var(--red); --service-tint: #fcf0eb; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.5rem); }
.service-card { background: var(--canvas); border-top: 10px solid var(--service-color); padding: 1rem; }
.service-card a { display: block; color: var(--service-color); text-decoration: none; }
.service-card a:hover h3 { text-decoration: underline; }
.service-card h3 { font-size: clamp(1.48rem, 2vw, 1.95rem); margin-top: .9rem; }
.service-card p { margin-top: .45rem; color: var(--muted); }
.service-badge-frame { display: grid; place-items: center; min-height: 9.25rem; padding: .75rem; background: var(--service-tint); }
.service-badge-frame .service-badge { width: auto; max-width: 100%; max-height: 7.75rem; }
.contact-band { background: var(--accent); padding-block: 3.4rem; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.contact-band .button { background: var(--ink); color: var(--paper); }
.contact-band .button:hover { background: var(--paper); color: var(--ink); }
.inner-hero { --focus: var(--teal); background: var(--ink); color: var(--canvas); padding-block: clamp(3.5rem, 8vw, 7.3rem); }
.inner-hero h1 { max-width: 62rem; font-size: clamp(2.95rem, 6.5vw, 6.25rem); margin: .7rem 0 1.25rem; }
.inner-hero .eyebrow { color: var(--on-dark); }
.inner-hero.service-hero { background: var(--service-color); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(14rem, 28vw, 21rem); align-items: center; gap: 2rem clamp(1.25rem, 4vw, 3.5rem); }
.service-hero-grid > .service-badge { width: 100%; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.detail-grid.two { grid-template-columns: repeat(2, 1fr); }
.detail-grid article { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.detail-grid h2, .detail-grid h3 { margin-bottom: .65rem; }
.detail-grid .button { margin-top: 1rem; }
.role { font-weight: 750; }
.headshot { width: min(100%, 16rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 36%; margin-bottom: 1.25rem; }
dt { font-weight: 800; margin-top: .65rem; }
dd { margin-inline-start: 0; }
footer { background: var(--paper); padding-block: 2.45rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-contact { font-style: normal; }
@media (max-width: 900px) {
  .wrap { width: min(100% - 3rem, 75rem); }
  .header-inner { gap: .85rem; }
  nav { gap: .35rem 1rem; }
  .hero h1 { font-size: clamp(3rem, 8.4vw, 5.1rem); }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-contact { grid-area: 1 / 2; }
  nav { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: .65rem; }
  nav a { display: inline-flex; align-items: center; min-height: 2rem; }
  .project-grid, .detail-grid, .detail-grid.two, .case-summary, .project-gallery { grid-template-columns: 1fr; }
  .project-grid { gap: 2.3rem; }
  .hero { padding-bottom: 2.5rem; }
  .hero-gears { opacity: .23; }

  .contact-inner { align-items: flex-start; flex-direction: column; }
  .section h2 { margin-bottom: 1rem; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-grid > .service-badge { width: min(68vw, 17rem); }
}
@media (max-width: 480px) {
  .service-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .header-contact { transition: background-color .16s, color .16s; }
}
