/**
 * Theme Name: PWT
 * Template:   generatepress
 */

:root {
  /* palette — warmer, more confident */
  /* --paper:    #FAF5E6; */
  --paper: #f7f5f1;
  /* --paper-2:  #F2EBD6; */
  --paper-2: #f5f2ea;
  --paper-3:  #EADFC0;
  --ink:      #1C1814;
  --ink-2:    #4B423A;
  --ink-3:    #847A6C;
  --rule:     #DCD2B8;
  --rule-2:   #CBBEA0;

  /* primary accent: tangerine — used generously */
  --accent:   #E25A2B;
  --accent-d: #B8431B;
  --accent-l: #FFE0CC;

  /* dark section base: deep aubergine, not black */
  --dark:     #2A1F2E;
  --dark-2:   #3D2D43;

  /* support tones */
  --teal:     #1F6E6A;
  --teal-l:   #C6E3E0;
  --plum:     #6B3252;
  --butter:   #F2C75C;

  /* type */
  --serif: 'Newsreader', 'Charter', Georgia, serif;
  --sans:  'Geist', system-ui, -apple-system, sans-serif;
  --mono:  'Geist Mono', ui-monospace, 'JetBrains Mono', monospace;

  /* scale */
  --container: 1320px;
  --pad-x: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* containers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}

/* — type — */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--ink);
}
.display.italic { font-style: italic; font-weight: 400; }

h1.display { font-size: clamp(56px, 6.7vw, 116px); }
h2.display { font-size: clamp(40px, 4.8vw, 72px); }
h3.display { font-size: clamp(28px, 2.4vw, 36px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: 1px;
  margin-right: 8px;
}

.lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: transparent;
}
.tag .pip {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn.primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn.primary:hover { background: var(--accent-d); border-color: var(--accent-d); color: var(--paper); }

.btn.ghost {
  border-color: var(--rule-2);
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn.lg { padding: 18px 26px; font-size: 16px; }

/* — nav — */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .mark {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  align-self: center;
  transform: translateY(3px);
  box-shadow: inset 0 -3px 0 var(--accent-d);
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.brand .word { font-style: italic; }

.nav ul {
  display: flex; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.nav ul a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav ul a:hover, .nav ul a.active { color: var(--ink); }
.nav ul a.active { position: relative; }
.nav ul a.active::after {
  content: ""; 
  position: absolute;
  left: 0; 
  right: 0; 
  /* bottom: 22px; */
  height: 2px;
  /* background: var(--accent); */
}

/* — section scaffolding — */
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid var(--rule); }
section.compact { padding: 56px 0; }
section.dark {
  background: var(--dark);
  color: var(--paper);
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(226,90,43,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(31,110,106,0.20) 0%, transparent 55%);
}
section.dark .eyebrow { color: rgba(246,241,231,0.55); }
section.dark .display, section.dark h1, section.dark h2, section.dark h3 { color: var(--paper); }
section.dark .lead { color: rgba(246,241,231,0.72); }
section.dark .rule { background: rgba(246,241,231,0.18); }
section.dark .btn { border-color: rgba(246,241,231,0.4); color: var(--paper); }
section.dark .btn:hover { background: var(--paper); color: var(--ink); }
section.dark .btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
section.dark .btn.primary:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }

.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  margin-bottom: 56px;
}
.section-head .right { text-align: right; }

/* — hero — */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}
.hero h1 { margin: 24px 0 0; max-width: 17ch; }
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.hero-meta {
    /* display: grid; */
    /* grid-template-columns: 1fr auto 1fr; */
    /* gap: 32px; */
    /* align-items: end; */
    border-top: 1px solid var(--rule);
    padding-top: 32px;
    margin-top: 56px;
    display: flex;
    justify-content: space-between;
}
.hero-meta .kpi {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  flex-grow: 1;
  gap: 14px;
  width: calc(100% / 3);
  justify-content: flex-end;
}

.hero-meta .kpi .num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-meta .kpi .num em { font-style: italic; color: var(--accent); }
.hero-meta .kpi .lbl {
  font-family: var(--sans);
  font-size: 13px;
  color: gray;

  /* max-width: 18ch; */
}
.hero-cta {
  display: flex; gap: 12px; align-items: center;
  justify-self: end;
}
.hero-cta .note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* asymmetric ornament */
.hero-ornament {
  position: absolute;
  right: var(--pad-x);
  top: 96px;
  width: 220px; height: 220px;
  pointer-events: none;
}
.hero-ornament .ring {
  width: 100%; height: 100%;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  position: absolute; inset: 0;
}
.hero-ornament .ring.r2 { transform: scale(0.78); border-color: var(--rule); }
.hero-ornament .ring.r3 { transform: scale(0.55); border-color: var(--accent); }
.hero-ornament .ring.r3::after {
  content: "";
  position: absolute; inset: 30%;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
}
.hero-ornament .stamp {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* — trusted by — */
.trusted {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  background-image: radial-gradient(circle at 50% 50%, rgba(226,90,43,0.04) 0%, transparent 70%);
}
.trusted-row {
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-row .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-right: 1px solid var(--rule-2);
  padding-right: 32px;
}
.tlogo {
  color: var(--ink-3);
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  width: calc(100% / 10);
}
.tlogo:hover { opacity: 0.95; color: var(--ink); }
.tlogo.serif { font-family: var(--serif); font-style: italic; }
.tlogo.cap   { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.tlogo.mono  { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.tlogo.script{ font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; }

/* — services 2-up — */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.service {
  background: var(--paper);
  padding: 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  position: relative;
  min-height: 480px;
}
.service.alt { background: var(--paper-2); }
.service .num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; }
.service h3 { margin: 0; max-width: 14ch; }
.service .desc { color: var(--ink-2); font-size: 15px; max-width: 44ch; }
.service ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--rule);
}
.service ul li {
  padding: 12px 0;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-2);
}
.service ul li .k { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }
.service ul li .v { color: var(--ink); }
.service ul li .more { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.service .foot { display: flex; justify-content: space-between; align-items: center; }
.service .foot .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }

/* — selected work — */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  display: grid; grid-template-rows: auto auto;
  gap: 18px;
  background: transparent;
  opacity: 0.7;
}
.case:hover {
  opacity: 1;
}
.case-img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.case-img .ph {
  position: absolute; inset: 0;
  display: flex; align-items: end; justify-content: start;
  padding: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  isolation: isolate;
}
.case-img .ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* background:
    linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 100%),
    var(--bg, #C9C0AC); */
}
.case-img.c1 { --bg: #1F6E6A; }   /* teal */
.case-img.c2 { --bg: #E25A2B; }   /* tangerine */
.case-img.c3 { --bg: #6B3252; }   /* plum */
.case-img.c4 { --bg: #E8A04C; }   /* amber */
.case-img.c5 { --bg: #2A4F8C; }   /* indigo */
.case-img.c6 { --bg: #B83A2A; }   /* brick */

.case-img .badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.case .meta { display: flex; justify-content: space-between; align-items: baseline; }
.case .meta .tagline { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.case .meta .stat { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--accent); letter-spacing: -0.01em; }
.case .name { font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; margin-top: 4px; }
.case .name a { display: inline-flex; gap: 8px; align-items: baseline; }
.case .name .arr { font-family: var(--sans); font-size: 16px; color: var(--ink-3); }
.case .desc { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* — process strip — */
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(250,245,230,0.20);
}
.process-step {
  border-right: 1px solid rgba(250,245,230,0.14);
  padding: 32px 24px 36px;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--paper);
  opacity: 0.95;
  line-height: 1;
}
.process-step .n em { color: var(--accent); font-style: italic; }
.process-step h4 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 18px 0 12px;
  color: var(--paper);
  letter-spacing: -0.015em;
  font-weight: 400;
}
.process-step p { color: rgba(246,241,231,0.7); font-size: 14px; margin: 0; max-width: 28ch; }

/* — testimonial split — */
.testimonial-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.3) 100%),
    radial-gradient(circle at 30% 30%, #C8B79A 0%, #8B7558 60%, #4A3D2C 100%);
  position: relative;
  border: 1px solid var(--rule);
}
.portrait::after {
  content: "client portrait";
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.testimonial blockquote em { font-style: italic; color: var(--accent); }
.testimonial .quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 88px;
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.testimonial .attrib {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B8AFA0 0%, #6E5F45 100%);
  border: 1px solid var(--rule);
}
.testimonial .who { font-weight: 500; font-size: 14px; }
.testimonial .role { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* — faq — */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item .q {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.faq-item .toggle {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink-3);
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease;
}
.faq-item:hover .toggle { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item.open .toggle { transform: rotate(45deg); background: var(--accent); color: var(--paper); border-color: var(--accent); }
.faq-item .a {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  max-width: 64ch;
}
.faq-item.open .a {
  max-height: 240px;
  margin-top: 14px;
}

/* — footer — */
.footer {
  background: var(--dark);
  color: var(--paper);
  padding: 96px 0 32px;
  background-image:
    radial-gradient(ellipse at 90% 0%, rgba(226,90,43,0.22) 0%, transparent 50%);
}
.footer-cta {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end;
  border-bottom: 1px solid rgba(246,241,231,0.15);
  padding-bottom: 56px;
}
.footer-cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  font-weight: 400;
  max-width: 14ch;
}
.footer-cta h2 em { font-style: italic; color: var(--accent); }
.footer-cta .right {
  display: grid; gap: 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(246,241,231,0.7);
}
.footer-cta .right a.big {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  align-self: start;
}
.footer-cta .right a.big:hover { background: var(--accent); color: var(--paper); }

.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px;
  padding: 56px 0;
}
.footer-cols .colhead {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(246,241,231,0.5);
  margin-bottom: 18px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols a { color: rgba(246,241,231,0.78); font-size: 14px; }
.footer-cols a:hover { color: var(--paper); }
.footer-cols .brand-block .display {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 32px;
  font-style: italic;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 14px;
}
.footer-cols .brand-block p {
  color: rgba(246,241,231,0.68);
  font-size: 14px;
  max-width: 36ch;
  margin: 0;
}

.footer-base {
  border-top: 1px solid rgba(246,241,231,0.15);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(246,241,231,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* responsive */
@media (max-width: 960px) {
  :root { --pad-x: 28px; }
  .hero-meta { grid-template-columns: 1fr; gap: 20px; }
  .services { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(246,241,231,0.18); padding-bottom: 24px; }
  .testimonial-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav ul { display: none; }
  .hero-ornament { display: none; }
  .section-head { flex-direction: column; align-items: start; }
  .section-head .right { text-align: left; }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted-row {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 60s linear infinite;
  height: 108px;
}

.trusted-row:hover {
  animation-play-state: paused;
}

.trusted .tlogo {
  height: 40px;
  width: auto;
  margin: 0 40px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .trusted-row {
      animation: none;
      overflow-x: auto;
      width: 100%;
  }
}

.inside-article {
  background-color: var(--paper-3) !important;
  width: 100vw !important;
  /* margin: 0 auto !important; */
  padding: 0 !important;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea {
  border-color: var(--accent);
}

.entry-title {
  font-family: var(--serif);
  color: var(--ink);
}

.site-main {
  margin: 0 !important;
}

.site-content .content-area {
  width: 100% !important;
}

/* ─── Contact page ─── */

.inside-article {
  background-color: var(--paper) !important;
  padding: 80px var(--pad-x) 120px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title */
.entry-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 64px;
  text-align: center;
}

/* Scope the form width */
.wpcf7 {
  width: 100%;
  max-width: 560px;
}

/* Labels */
.wpcf7 label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

/* Fields */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-l);
  background: var(--paper);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

/* Spacing between paragraphs CF7 wraps fields in */
.wpcf7 p {
  margin: 0 0 24px;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-appearance: none;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
}

/* Response messages */
.wpcf7-response-output {
  margin-top: 20px !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  border: 1px solid var(--rule-2) !important;
  color: var(--ink-2) !important;
}

/* Validation errors */
.wpcf7-not-valid {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12) !important;
}

.wpcf7-not-valid-tip {
  font-family: var(--mono);
  font-size: 11px;
  color: #C0392B;
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: block;
}

/* Fix GeneratePress main margin */
.site-main {
  margin: 0 !important;
}

.site-content .content-area {
  width: 100% !important;
}

/* ─────────────────────────────────────────────────────────────────
   Paramount Web Technology — visual refinements
   Drop these at the bottom of your style.css, after the existing rules.
   ───────────────────────────────────────────────────────────────── */

/* ── 1. Case cards: richer hover ──────────────────────────────── */

/* Remove the heavy opacity fade — it reads as disabled */
.case {
  opacity: 1;
  transition: none;
}

/* Instead: lift the image on hover */
.case-img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.case:hover .case-img {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -8px rgba(28, 24, 20, 0.18);
}

/* Subtler arrow reveal on card title */
.case .name .arr {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.35;
}
.case:hover .name .arr {
  transform: translateX(4px);
  opacity: 1;
  color: var(--accent);
}


/* ── 2. Trusted bar: edge fades ───────────────────────────────── */

/* Wrap the scrolling div and add fade masks */
.trusted > div {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}


/* ── 3. Hero: tighten the KPI row ─────────────────────────────── */

/* Give the button-KPI column a consistent baseline rhythm */
.hero-meta .kpi:last-child {
  justify-content: flex-start;
  padding-top: 4px;
}

/* Add a thin vertical divider between KPIs */
.hero-meta .kpi + .kpi {
  border-left: 1px solid var(--rule);
  padding-left: calc(100% / 3 * 0.12);
}

/* Slightly larger KPI numbers for more visual weight */
.hero-meta .kpi .num {
  font-size: clamp(44px, 4.5vw, 64px);
}


/* ── 4. Services: tighter, less cavernous ─────────────────────── */

.service {
  min-height: 0;          /* let content determine height */
  padding: 36px;
}

/* Slight tint on hover to hint interactivity */
.service {
  transition: background 0.2s ease;
}
.service:hover {
  background: var(--paper-2);
}
.service.alt:hover {
  background: var(--paper-3);
}

/* Soften the list item gaps */
.service ul li {
  padding: 10px 0;
}

/* Accent the arrow on list item hover */
.service ul li {
  transition: color 0.15s ease;
}
.service ul li:hover .v {
  color: var(--accent);
}
.service ul li:hover .more {
  color: var(--accent);
}


/* ── 5. Nav: stronger active state ────────────────────────────── */

/* The JS-driven indicator is good; reinforce the active link itself */


/* Subtle hover underline instead of nothing */
/* .nav ul a {
  position: relative;
  padding-bottom: 2px;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.nav ul a:hover::after,
.nav ul a.active::after {
  transform: scaleX(1);
} */


/* ── 6. Process steps: number accent refinement ───────────────── */

/* The italic number is good — add a subtle underline on hover */
.process-step {
  transition: background 0.2s ease;
}
.process-step:hover {
  background: rgba(255, 255, 255, 0.035);
}

/* Warmer, slightly larger step title */
.process-step h4 {
  font-size: 30px;
}


/* ── 7. Footer CTA: make the email link feel premium ──────────── */

.footer-cta .right a:not(.big) {
  color: rgba(246, 241, 231, 0.78);
  border-bottom: 1px solid rgba(246, 241, 231, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-cta .right a:not(.big):hover {
  color: var(--paper);
  border-color: var(--accent);
}


/* ── 8. Section eyebrow dot: pulse on load ────────────────────── */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.75); }
}

.eyebrow .dot {
  animation: pulse-dot 2.8s ease-in-out infinite;
}


/* ── 9. Buttons: more satisfying press ────────────────────────── */

.btn {
  transition: background 0.15s ease, color 0.15s ease,
              transform 0.12s ease, box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn.primary:hover {
  box-shadow: 0 6px 20px -4px rgba(226, 90, 43, 0.45);
}


/* ── 10. FAQ: highlight open question ─────────────────────────── */

.faq-item.open .q {
  color: var(--accent);
}


/* .case-img .badge {
  background: #23aa47;
  color: #fff;
  box-shadow: 0px 0px 3px #27b04b;
} */

/* .case-img .badge {
  transition: background 0.5s ease, color 0.2s ease, box-shadow 0.5s ease;
}

.case:hover .case-img .badge {
  background: #23aa47;
  color: #fff;
  box-shadow: 0px 0px 3px #27b04b;
} */

.hero-ornament .stamp {
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
}

/* ─────────────────────────────────────────────────────────────────
   Projects archive — filter bar
   Add to the bottom of style.css
   ───────────────────────────────────────────────────────────────── */

   .work-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.work-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--rule-2);
    background: transparent;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease,
                border-color 0.15s ease;
}

.work-filter-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.work-filter-btn.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
