/* ============================================================
   MADCAP PRINTING AND DESIGN — 2026 rebrand homepage (v4)
   Thesis: a walk through the print shop. Sections are paper
   stocks (ice/cream/ink/blue/blush), halftone ramps at the
   seams, real paint underfoot, tape on the team wall, and the
   gnome tracking footprints through it all.
   Brand: #00A9CE blue · #F27EB2 pink · #0F1213 ink · #F0EFE3 cream
   Headers: DT Getai Grotesk Display (stand-in: Futura Extra Black)
   Body: Futura Medium
   ============================================================ */

@font-face {
  font-family: "FuturaXBlk";
  src: url("assets/fonts/futura-xblk.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "FuturaBold";
  src: url("assets/fonts/futura-bold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "FuturaMed";
  src: url("assets/fonts/futura-medium.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #0f1213;
  --body-on-light: #33393b;
  --blue: #00a9ce;
  --pink: #f27eb2;
  --cream: #f0efe3;
  --ice: #d8eff4;
  --blush: #fae0ea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "FuturaMed", "Futura", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 {
  text-wrap: balance;
  font-family: "FuturaXBlk", "Futura", sans-serif;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.5px;
}

.eyebrow {
  font-family: "FuturaBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
}

.accent-blue { color: var(--blue); }
.accent-pink { color: var(--pink); }
.hero-center h1 .accent-pink {
  display: inline-block;
  animation: pulse-dot 3.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.dbr { display: inline; }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.wm-trail .fp-step { opacity: 0; transition: opacity 0.5s ease; }
.wm-trail.walk .fp-step { opacity: 1; }
.wm-trail path { fill: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wm-trail .fp-step { opacity: 1; transition: none; }
  .hero-center h1 .accent-pink { animation: none; }
}

/* ---------- Halftone seams ---------- */
.halftone {
  display: block;
  width: 100%;
  height: 58px;
  fill: currentColor;
  margin: 0;
}

/* ---------- Registration mark ---------- */
.regmark {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.3;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "FuturaBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: var(--ink); box-shadow: 0 3px 0 rgba(15, 18, 19, 0.85); }
.btn-pink:hover { box-shadow: 0 5px 0 rgba(15, 18, 19, 0.85); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 3px 0 rgba(15, 18, 19, 0.85); }
.btn-blue:hover { box-shadow: 0 5px 0 rgba(15, 18, 19, 0.85); }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 3px 0 rgba(15, 18, 19, 0.55); }
.btn-cream:hover { box-shadow: 0 5px 0 rgba(15, 18, 19, 0.55); }
.btn-outline-ink {
  border: 2.5px solid var(--ink);
  color: var(--ink);
  padding: 13.5px 32px;
}
.btn-outline-ink:hover { background: var(--ice); border-color: var(--ink); }
.btn-ghost {
  border: 2.5px solid var(--cream);
  color: var(--cream);
  padding: 13.5px 32px;
}
.btn-ghost:hover { background: var(--ice); border-color: var(--ice); color: var(--ink); }

/* ---------- Nav ---------- */
header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
header.scrolled {
  background: var(--ink);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo img { width: 150px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-family: "FuturaBold", sans-serif;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 1.8px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .btn { padding: 12px 26px; font-size: 12px; }
#nav-toggle { display: none; }
.burger { display: none; cursor: pointer; }
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--cream);
  border-radius: 3px;
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--ink);
  background-image: url("assets/img/hero-press-bw.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 230px 28px 176px;
}
.hero-center .eyebrow { color: var(--blue); margin-bottom: 22px; }
.hero-center h1 { font-size: clamp(60px, 8.8vw, 128px); margin-bottom: 26px; }
.hero-sub {
  font-size: 19px;
  color: #c3c8c9;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-gnome-big {
  position: absolute;
  right: 3.5%;
  bottom: -14px;
  width: min(300px, 22vw);
  z-index: 1;
}


/* ---------- Sections ---------- */
section { position: relative; overflow: hidden; }
.wm-trail {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  fill: currentColor;
  overflow: visible;
}
.wm-services { inset: 0; width: 100%; height: 100%; color: var(--blue); opacity: 0.1; }
.wm-team { inset: 0; width: 100%; height: 100%; color: var(--pink); opacity: 1; }
.section-pad { padding: 116px 0 124px; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: none; margin: 0 auto 76px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 60px); margin-bottom: 22px; }
.section-head p { font-size: 18px; color: var(--body-on-light); max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Services (cream) ---------- */
.services { background: var(--cream); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
}
.svc { text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-art { margin-bottom: 34px; }
.svc img {
  width: min(310px, 90%);
  margin: 0 auto;
  transition: transform 0.2s ease;
}
.svc:hover img { transform: scale(1.06); }
.svc h3 { font-size: 25px; margin-bottom: 10px; }
.svc-rule {
  width: 48px;
  height: 5px;
  border-radius: 4px;
  margin: 0 auto 14px;
}
.rule-blue { background: var(--blue); }
.rule-pink { background: var(--pink); }
.svc p { font-size: 16px; color: var(--body-on-light); max-width: 38ch; margin-bottom: 18px; }
.svc-link {
  font-family: "FuturaBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12.5px;
  text-decoration: none;
  margin-top: auto;
}
.svc-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Catalog panel (inside services) ---------- */
.catalog-panel {
  margin-top: 130px;
  text-align: center;
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: 30px;
  padding: 84px 48px;
}
.panel-gnome {
  position: absolute;
  top: -99px;
  right: 6%;
  width: 108px;
  transform: rotate(5deg);
}
.catalog-panel h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 18px; }
.catalog-panel p { font-size: 17.5px; color: #c6cacb; margin-bottom: 34px; }

/* ---------- Clients (cream) ---------- */
.clients { background: var(--cream); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 58px 48px;
  align-items: center;
  max-width: 1010px;
  margin: 0 auto;
}
.client-grid img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.client-grid img:hover { filter: none; opacity: 1; }

/* ---------- Team (charcoal wall) ---------- */
.team { background: var(--ink); color: var(--cream); }
.team .section-head h2 { color: var(--cream); }
.team .section-head p { color: #c6cacb; }
.team .member h3 { color: var(--cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
}
.member { text-align: center; position: relative; }
.member-photo { position: relative; margin-bottom: 20px; }
.member-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: 16px;
  transition: transform 0.2s ease;
}
.member:nth-child(1) .member-photo img { transform: rotate(-2deg); }
.member:nth-child(2) .member-photo img { transform: rotate(1.6deg); }
.member:nth-child(3) .member-photo img { transform: rotate(-1.4deg); }
.member:nth-child(4) .member-photo img { transform: rotate(2.2deg); }
.member:hover .member-photo img { transform: rotate(0deg) translateY(-5px); }
.member-photo::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 92px;
  height: 26px;
  background: rgba(240, 239, 227, 0.82);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(15, 18, 19, 0.16);
  z-index: 2;
}
.member h3 { font-size: 18px; margin-bottom: 5px; }
.member p {
  font-family: "FuturaBold", sans-serif;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.member:nth-child(odd) p { color: var(--blue); }
.member:nth-child(even) p { color: var(--pink); }

/* ---------- Contact (cream) ---------- */
.contact { background: var(--cream); }
.contact .section-head { margin-bottom: 46px; }
.contact .section-pad { padding-bottom: 72px; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto 56px;
}
.contact-info h3 {
  font-family: "FuturaBold", sans-serif;
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 10px;
}
.contact-info p, .contact-info a {
  font-size: 16.5px;
  color: var(--body-on-light);
  text-decoration: none;
}
.contact-info a:hover { color: var(--blue); }
.contact-cta { text-align: center; margin-bottom: 0; }
.contact .section-pad { padding-bottom: 96px; }
.map-wrap { position: relative; }
.map-gnomes {
  position: absolute;
  top: -58px;
  right: 9%;
  width: 150px;
  z-index: 2;
}
.map-frame {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ---------- Footer (ink) ---------- */
footer {
  background: var(--ink);
  color: #c9cdce;
  text-align: center;
  padding: 88px 0 40px;
}
.footer-logo { width: 190px; margin: 0 auto 30px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 34px;
  list-style: none;
  margin-bottom: 30px;
}
.footer-links a {
  color: #eceeee;
  text-decoration: none;
  font-family: "FuturaBold", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}
.footer-links a:hover { color: var(--blue); }
.footer-contact { font-size: 15px; line-height: 1.9; margin-bottom: 40px; }
.footer-contact a { color: #c9cdce; text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid #2c3133;
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #878d8f;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dbr { display: none; }
  .section-pad { padding: 64px 0 72px; }
  .hero-center { padding: 80px 24px 110px; }
  .svc-grid { grid-template-columns: 1fr; gap: 60px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info { grid-template-columns: 1fr; gap: 28px; }
  .studio-badge { display: none; }
  .hero-gnome-big { display: none; }
  .panel-gnome { width: 84px; top: -77px; }
  .map-gnomes { width: 110px; top: -42px; }

  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 26px;
    gap: 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  #nav-toggle:checked ~ .nav-links { display: flex; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}


/* ---------- Interior pages ---------- */
.has-drop { position: relative; }
.has-drop .drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  z-index: 70;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.drop-inner {
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  padding: 20px 24px;
  display: grid;
  gap: 13px;
  min-width: 200px;
}
.drop-inner a { font-size: 12px; white-space: nowrap; }
@media (max-width: 960px) {
  .has-drop .drop { position: static; transform: none; display: block; padding: 12px 0 0 16px; }
  .drop-inner { background: transparent; box-shadow: none; padding: 0; gap: 14px; }
}

.page-hero .hero-center { padding: 200px 28px 120px; }
.page-hero { background-image: none; }
.page-hero-art {
  position: absolute;
  right: 4%;
  bottom: -40px;
  width: min(300px, 21vw);
  z-index: 1;
  opacity: 0.9;
  transform: rotate(-4deg);
}
.page-hero-badge { transform: rotate(8deg); bottom: 34px; width: min(200px, 15vw); }
.page-hero-gnome { transform: none; bottom: 0; }
@media (max-width: 960px) { .page-hero-art { display: none; } }

.info-col h3 { font-size: 23px; margin-bottom: 10px; }
.page-body { background: var(--cream); }

.step-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: "FuturaXBlk", sans-serif;
  font-size: 25px;
  margin-bottom: 18px;
}
.step:nth-child(2) .step-num { background: var(--blue); color: #fff; }
.step:nth-child(3) .step-num { background: var(--pink); color: var(--ink); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--body-on-light); max-width: 34ch; margin: 0 auto; }
.step p a { color: var(--blue); }
@media (max-width: 960px) { .step-strip { grid-template-columns: 1fr; gap: 40px; } }

.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 2px solid rgba(15, 18, 19, 0.14);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "FuturaBold", sans-serif;
  font-size: 17px;
  padding: 18px 40px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "FuturaXBlk", sans-serif;
  font-size: 24px;
  color: var(--pink);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a p { padding: 0 0 20px; color: var(--body-on-light); font-size: 16.5px; max-width: 68ch; }
.faq-a a { color: var(--blue); }

.pf-grid { columns: 3; column-gap: 26px; }
.pf-grid img { width: 100%; border-radius: 16px; margin-bottom: 26px; }
@media (max-width: 960px) { .pf-grid { columns: 2; } }
@media (max-width: 560px) { .pf-grid { columns: 1; } }

.team-grid-page .member-bio {
  font-family: "FuturaMed", sans-serif;
  font-size: 15px;
  color: var(--body-on-light);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 8px;
}
.page-body .team-grid { color: var(--ink); }
.page-body .member h3 { color: var(--ink); }

.post-list { max-width: 820px; margin: 0 auto; display: grid; gap: 34px; }
.post-card {
  display: block;
  background: #fff;
  border-radius: 22px;
  padding: 40px 44px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(15, 18, 19, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15, 18, 19, 0.14); }
.post-card h3 { font-size: 26px; margin: 10px 0 12px; }
.post-card p { color: var(--body-on-light); font-size: 16px; margin-bottom: 16px; }

.prose { max-width: 740px; margin: 0 auto; font-size: 17.5px; }
.prose p { margin-bottom: 22px; color: var(--body-on-light); }
.prose h2 { font-size: 30px; margin: 44px 0 16px; }
.prose ul { margin: 0 0 22px 24px; color: var(--body-on-light); }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose-back { margin-top: 44px; }

.cta-wrap { background: var(--cream); }
.cta-wrap .catalog-panel { margin-top: 0; }
.team-more { text-align: center; margin-top: 56px; }
.team-more .btn-ghost { border-color: var(--cream); color: var(--cream); }


/* ---------- Interior v2 ---------- */
.page-hero .hero-center { padding: 190px 28px 110px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); }
.page-hero .hero-sub { font-size: 18px; }

.proc { position: relative; }
.proc-trail {
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  width: 100%;
  height: auto;
  color: var(--blue);
  opacity: 0.3;
  z-index: 0;
}
.step-strip { position: relative; z-index: 1; }
@media (max-width: 960px) { .proc-trail { display: none; } }

.pf-grid img { transition: transform 0.2s ease; }
.pf-grid img:hover { transform: scale(1.03); }


/* ---------- Orphan control + icon badges ---------- */
p, li, summary, .hero-sub { text-wrap: pretty; }
.icon-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--cream);
}
.icon-badge svg { width: 38px; height: 38px; }
.icon-blue { background: var(--blue); }
.icon-ink { background: var(--ink); }
.icon-pink { background: var(--pink); color: var(--ink); }
.svc:nth-child(1) .icon-badge { transform: rotate(-5deg); }
.svc:nth-child(2) .icon-badge { transform: rotate(3deg); }
.svc:nth-child(3) .icon-badge { transform: rotate(-3deg); }
