/* Paula de Vega — site styles. Exported from the Claude Design project and cleaned up for the live site. */

/* Webfonts — self-hosted from Google Fonts (Fredoka, Inclusive Sans). Variable weight 300–700. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url("/assets/fredoka-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url("/assets/fredoka-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inclusive Sans';font-style:italic;font-weight:300 700;font-display:swap;src:url("/assets/inclusive-sans-italic-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inclusive Sans';font-style:italic;font-weight:300 700;font-display:swap;src:url("/assets/inclusive-sans-italic-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inclusive Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url("/assets/inclusive-sans-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inclusive Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url("/assets/inclusive-sans-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Paula Consulting — color tokens. Source: Brand.pdf (color palette p.1, package cards p.2–3) */
:root{
  /* Base palette (from brand sheet) */
  --pc-green:#186b43;
  --pc-ink:#16170f;
  --pc-stone:#dbdada;
  --pc-white:#ffffff;
  /* Observed tints (package cards) */
  --pc-stone-soft:#e6e6e6;   /* Package 2 fill */
  --pc-stone-line:#bbbabb;   /* Package 2 border */
  /* Derived interaction shades (not in source — used for hover/press only) */
  --pc-green-hover:#135a38;
  --pc-green-press:#0f4a2e;
  --pc-ink-hover:#2c2d24;

  /* Semantic aliases */
  --surface-page:var(--pc-white);
  --surface-card:var(--pc-white);
  --surface-card-muted:var(--pc-stone-soft);
  --surface-card-accent:var(--pc-green);
  --surface-inverse:var(--pc-ink);
  --text-body:var(--pc-ink);
  --text-heading:var(--pc-ink);
  --text-on-accent:var(--pc-white);
  --text-on-inverse:var(--pc-white);
  --text-accent:var(--pc-green);
  --border-strong:var(--pc-ink);
  --border-muted:var(--pc-stone-line);
  --border-on-accent:var(--pc-white);
  --accent:var(--pc-green);
  --accent-hover:var(--pc-green-hover);
  --accent-press:var(--pc-green-press);
  --ornament:var(--pc-stone);          /* grey asterisk / quiet decoration */
  --ornament-accent:var(--pc-green);   /* green asterisk */
  --focus-ring:var(--pc-green);
}

/* Paula Consulting — type tokens. Titles: Fredoka (uppercase). Body: Inclusive Sans.
   Sizes copied from Brand.pdf (document pages are 1684×1190pt; 1pt → 1px). */
:root{
  --font-display:'Fredoka','Arial Rounded MT Bold',system-ui,sans-serif;
  --font-body:'Inclusive Sans',system-ui,-apple-system,'Segoe UI',sans-serif;

  --fw-regular:400; /* @kind font */
  --fw-bold:700; /* @kind font */
  --fw-display:700; /* @kind font */

  --fs-display:53.2px;   /* Section titles: ABOUT MY WORK, PACKAGES */
  --fs-brand:22.9px;     /* "Paula de Vega | Business consultant" header */
  --fs-card-title:19.6px;/* Package 1 - Business diagnosis / Timeline line */
  --fs-lead:19.2px;      /* Short standalone statements */
  --fs-body:17.2px;      /* Paragraphs, lists, terms */
  --fs-small:15.2px;     /* Side notes (italic) */
  --fs-caption:14.8px;   /* Footer: name, email, confidentiality */

  --lh-display:1.0; /* @kind font */
  --lh-body:1.57; /* @kind font */        /* 27pt leading on 17.2pt paragraphs */
  --lh-list:1.48; /* @kind font */        /* 25.5pt leading in card lists */
  --lh-tight:1.25; /* @kind font */

  --ls-display:-0.01em; /* @kind font */
  --tt-display:uppercase; /* @kind font */

  /* Semantic */
  --text-title-font:var(--font-display);
  --text-body-font:var(--font-body);
}

/* Paula Consulting — spacing, radii, rules, elevation */
:root{
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:21px;   /* card padding + gap between package cards */
  --space-6:26px;
  --space-7:32px;
  --space-8:48px;
  --space-9:64px;
  --space-page:106px; /* document page side margin */

  --pad-card:21px;
  --gap-card:21px;

  /* "Never rough edges, slightly rounded" */
  --radius-sm:6px;      /* buttons, inputs, tags */
  --radius-card:16px;   /* package cards */
  --radius-swatch:24px; /* color tiles on the brand sheet */

  /* Rules — "Lines to separate. Sometimes with dots, sometimes a straight line." */
  --rule-heavy:2.5px;   /* under brand header + card titles */
  --rule-hair:1px;      /* card outline, footer line */
  --rule-dot-size:3px;
  --rule-dot-gap:7px;
  --border-card:var(--rule-hair) solid var(--border-strong);

  /* Flat brand: no drop shadows in source. */
  --shadow-none:none;
  --shadow-focus:0 0 0 3px color-mix(in srgb,var(--pc-green) 30%,transparent);

  --ease:cubic-bezier(.3,.7,.4,1); /* @kind other */
  --dur-fast:120ms; /* @kind other */
  --dur:200ms; /* @kind other */
}

/* Minimal element defaults + reusable utility classes */
html{color:var(--text-body);background:var(--surface-page);}
body{margin:0;font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased;}
a{color:var(--text-accent);text-decoration:underline;text-underline-offset:2px;}
a:hover{color:var(--accent-hover);}
.pc-title{font-family:var(--font-display);font-weight:var(--fw-display);font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display);text-transform:uppercase;margin:0;}
.pc-rule-dotted{height:var(--rule-dot-size);background-image:radial-gradient(circle,currentColor calc(var(--rule-dot-size)/2),transparent calc(var(--rule-dot-size)/2 + .5px));background-size:var(--rule-dot-gap) var(--rule-dot-size);background-repeat:repeat-x;}
.pc-bw{filter:grayscale(1);}

/* Paula de Vega — personal site shell (sidebar + content column). Shared by every page. */
/* Section colours: ONE variable, --accent, set per page with data-section (on <body> and on .pdv-site).
   Every accent element (logo, active nav item, content links, +/- icons, ticks, focus, form button) uses var(--accent). */
:root,[data-section]{--accent:#5f5f5f;--accent-hover:#474747;--tint:#ffffff}
[data-section="consulting"]{--accent:#186b43;--accent-hover:#135a38;--tint:#ffffff}
[data-section="product"]{--accent:#2a4fa8;--accent-hover:#213f87;--tint:#ffffff}
/* Contact: grey until a topic is picked in its form, then that topic's colour. */
html[data-pdv-topic="consulting"] [data-section="contact"]{--accent:#186b43;--accent-hover:#135a38}
html[data-pdv-topic="product"] [data-section="contact"]{--accent:#2a4fa8;--accent-hover:#213f87}
body[data-section]{background:var(--tint);transition:background-color .3s ease}
/* Links that point to a section use that section's colour (homepage links, nav hover). */
.pdv-to-home,.pdv-to-contact{--to:#5f5f5f;--to-hover:#474747}
.pdv-to-consulting{--to:#186b43;--to-hover:#135a38}
.pdv-to-product{--to:#2a4fa8;--to-hover:#213f87}
/* Page transitions. Kept short on purpose: browsers ignore clicks while a transition is playing. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.3s;animation-timing-function:ease}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
/* The logo never disappears between pages: it keeps its place, its colour cross-fades and it does a quick half-turn. */
.pdv-brand-mark{view-transition-name:pdv-logo}
::view-transition-group(pdv-logo){animation-duration:.35s}
::view-transition-image-pair(pdv-logo){animation:pdv-logo-spin .35s cubic-bezier(.2,.7,.2,1)}
::view-transition-old(pdv-logo),::view-transition-new(pdv-logo){animation-duration:.35s;animation-timing-function:ease}
@keyframes pdv-logo-spin{from{transform:rotate(0deg)}to{transform:rotate(180deg)}}
@media (prefers-reduced-motion:reduce){::view-transition-image-pair(pdv-logo),::view-transition-old(pdv-logo),::view-transition-new(pdv-logo){animation:none}}
/* Page content slides in sideways while fading; the sidebar stays still. */
.pdv-main{view-transition-name:pdv-main}
::view-transition-old(pdv-main){animation:pdv-slide-out .15s ease-in both}
::view-transition-new(pdv-main){animation:pdv-slide-in .28s cubic-bezier(.2,.7,.2,1) .07s both}
@keyframes pdv-slide-out{to{opacity:0;transform:translateX(-24px)}}
@keyframes pdv-slide-in{from{opacity:0;transform:translateX(24px)}}
@media (prefers-reduced-motion:reduce){::view-transition-old(pdv-main),::view-transition-new(pdv-main){animation:none}}
/* The footer never moves or fades between pages: only the page content transitions. */
.pdv-footer{view-transition-name:pdv-footer}
::view-transition-group(pdv-footer){animation:none}
::view-transition-old(pdv-footer){display:none}
::view-transition-new(pdv-footer){animation:none}
.pdv-site{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh;background:var(--tint);color:#1a1a1a;font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body)}
.pdv-side{position:sticky;top:0;align-self:start;display:flex;flex-direction:column;gap:40px;padding:72px 0 48px clamp(24px,3vw,48px);box-sizing:border-box}
.pdv-brand{display:inline-flex;align-items:center;gap:11px;align-self:flex-start;color:#1a1a1a;text-decoration:none;font-family:var(--font-body);font-size:19px;font-weight:600;line-height:1.2;white-space:nowrap}
.pdv-brand:hover{color:#1a1a1a}
.pdv-brand-mark{display:block;width:28px;height:28px;flex:none;background-color:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .7s cubic-bezier(.2,.7,.2,1),background-color .3s ease}
.pdv-brand:hover .pdv-brand-mark,.pdv-brand:focus-visible .pdv-brand-mark{transform:rotate(90deg)}
.pdv-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.pdv-nav a{position:relative;color:#1a1a1a;text-decoration:none;font-size:var(--fs-body);font-weight:400;line-height:1.4;transition:color .3s ease}
.pdv-nav a:hover{color:var(--to,var(--accent));text-decoration:underline;text-underline-offset:4px}
.pdv-nav a[aria-current="page"]{color:var(--accent);font-weight:600}
.pdv-nav a[aria-current="page"]:hover{color:var(--accent);text-decoration:none}
body[data-section="home"] .pdv-nav a[aria-current="page"],body[data-section="about"] .pdv-nav a[aria-current="page"],body[data-section="contact"] .pdv-nav a[aria-current="page"]{color:#1a1a1a;font-weight:700}
body[data-section="home"] .pdv-nav a[aria-current="page"]:hover,body[data-section="about"] .pdv-nav a[aria-current="page"]:hover,body[data-section="contact"] .pdv-nav a[aria-current="page"]:hover{color:#1a1a1a}
.pdv-main{display:flex;flex-direction:column;min-width:0;padding:72px clamp(24px,6vw,96px) 32px 112px;box-sizing:border-box}
@media (max-width:1279px){.pdv-main{padding-left:72px}}
.pdv-prose > :first-child{margin-top:-.3em}
.pdv-prose{max-width:980px;font-size:clamp(18px,1.45vw + 8.5px,29px);line-height:1.45;font-weight:400;color:#1a1a1a;text-wrap:pretty}
.pdv-prose p,.pdv-prose h1{margin:0 0 1em;font:inherit}
.pdv-prose a,.pdv-link,.pdv-legal a,.pdv-acc-body a{transition:color .3s ease;color:var(--to,var(--accent));text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.18em;text-decoration-skip-ink:auto}
.pdv-prose a:hover,.pdv-link:hover,.pdv-legal a:hover,.pdv-acc-body a:hover{color:var(--to-hover,var(--accent-hover))}
.pdv-lead{margin:0 0 40px;max-width:640px;font-size:var(--fs-lead);text-wrap:pretty}
.pdv-footer{margin-top:auto;padding-top:36px;font-size:var(--fs-caption);display:flex;flex-wrap:wrap;gap:8px}
.pdv-footer a{color:#1a1a1a}
.pdv-site a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
@media (max-width:760px){
  .pdv-site{grid-template-columns:minmax(0,1fr)}
  .pdv-side{position:static;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 20px 16px;border-bottom:1px solid #ddd}
  .pdv-brand{font-size:17px;gap:9px}
  .pdv-brand-mark{width:24px;height:24px}
  .pdv-nav{padding-top:2px}
  .pdv-nav ul{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:4px 14px}
  .pdv-nav a{font-size:15px}
  .pdv-main{padding:40px 20px 24px}
}

/* ---------- Accordion ---------- */
.pdv-accs{max-width:980px}
.pdv-accs:empty{display:none}
.pdv-acc{border-top:1px solid #ddd}
.pdv-acc:last-child{border-bottom:1px solid #ddd}
.pdv-acc-h{margin:0;font:inherit}
.pdv-acc-btn{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:22px 0;cursor:pointer;font-family:var(--font-body);font-size:clamp(21px,0.7vw + 16px,26px);line-height:1.25;color:#1a1a1a}
.pdv-acc-btn:hover{color:var(--accent)}
.pdv-acc-btn:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}
.pdv-acc-icon{position:relative;width:.8em;height:.8em;flex:none}
.pdv-acc-icon::before,.pdv-acc-icon::after{content:"";position:absolute;left:0;top:50%;width:100%;height:1.5px;margin-top:-.75px;background:var(--accent);transition:transform .22s ease}
.pdv-acc-icon::after{transform:rotate(90deg)}
.pdv-acc.is-open > .pdv-acc-h .pdv-acc-icon::after{transform:rotate(90deg) scaleX(0)}
.pdv-acc-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .22s ease,visibility 0s linear .22s}
.pdv-acc.is-open > .pdv-acc-panel{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .22s ease,visibility 0s linear 0s}
.pdv-acc-clip{position:relative;overflow:hidden;min-height:0}
.pdv-acc-body{padding:4px 0 40px;color:#1a1a1a}
.pdv-acc-body p{margin:0}
.pdv-acc-intro{max-width:720px;margin:0 0 32px !important;font-size:var(--fs-lead)}
@media (prefers-reduced-motion:reduce){.pdv-acc-panel,.pdv-acc.is-open > .pdv-acc-panel,.pdv-proj.is-open > .pdv-acc-panel,.pdv-acc-icon::before,.pdv-acc-icon::after{transition:none}}

/* ---------- Consulting page ---------- */
.pdv-main .pdv-prose h1{font-weight:400}
.pdv-prose + .pdv-accs{margin-top:0}
.pdv-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Nested project list (Work): one row per project, one open at a time */
.pdv-projs{border-top:1px solid #ddd}
.pdv-proj{border-bottom:1px solid #ddd}
.pdv-proj-h{margin:0;font:inherit}
.pdv-proj-btn{all:unset;box-sizing:border-box;display:grid;grid-template-columns:84px minmax(0,1fr) auto auto 14px;align-items:baseline;gap:4px 24px;width:100%;padding:14px 0;cursor:pointer;color:#1a1a1a;font-size:var(--fs-body);line-height:1.4}
.pdv-proj-btn:hover .pdv-proj-title{color:var(--accent)}
.pdv-proj-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
.pdv-proj-date{font-size:var(--fs-small);color:#666}
.pdv-proj-title{font-weight:700}
.pdv-proj-meta{font-size:var(--fs-small)}
.pdv-proj-icon{width:12px;height:12px;align-self:center}
.pdv-proj.is-open > .pdv-proj-h .pdv-proj-icon::after{transform:rotate(90deg) scaleX(0)}
.pdv-proj.is-open > .pdv-acc-panel{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .22s ease,visibility 0s linear 0s}
.pdv-proj-copy{display:flex;flex-direction:column;gap:1em;margin:0;padding:0 0 20px 108px;max-width:680px;text-wrap:pretty}
.pdv-proj-body,.pdv-proj-result{margin:0}
.pdv-proj-result strong{color:var(--accent)}

/* Package comparison table */
.pdv-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pdv-table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.pdv-table{width:100%;min-width:640px;table-layout:fixed;border-collapse:collapse;font-size:var(--fs-body);line-height:1.35;color:#1a1a1a}
.pdv-table th,.pdv-table td{padding:11px 16px 11px 0;border-bottom:1px solid #ddd;text-align:left;vertical-align:top}
.pdv-table thead th{vertical-align:bottom;font-weight:700;padding-bottom:14px}
.pdv-table tbody th{font-weight:400}
.pdv-table td{width:22%}
.pdv-table-sub{display:block;margin-top:4px;font-size:var(--fs-small);font-weight:400;font-style:italic;color:#666;line-height:1.35}
.pdv-package-price{display:block;margin-top:10px;line-height:1.2;white-space:nowrap}
.pdv-package-price-from{font-family:var(--font-body);font-size:var(--fs-small);font-weight:400;color:#666}
.pdv-package-price-amount{font-family:var(--font-display);font-size:var(--fs-body);font-weight:700;color:#666}
.pdv-packages-mobile{display:none}
.pdv-mobile-package + .pdv-mobile-package{margin-top:24px;padding-top:24px;border-top:1px solid #ddd}
.pdv-mobile-package-name{margin:0 0 4px;font-size:var(--fs-body);font-weight:700}
.pdv-package-details{display:flex;flex-direction:column;gap:8px;margin:0}
.pdv-package-details > div{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.pdv-package-details dt,.pdv-package-details dd{margin:0}
.pdv-package-details dt{flex:1;min-width:0}
.pdv-package-details dd{text-align:right}
.pdv-table th:first-child{position:sticky;left:0;z-index:1;background:var(--tint);width:34%;min-width:170px}
.pdv-yes{color:var(--accent);font-weight:700}
.pdv-no{color:#6e6e6e}
.pdv-pricing-notes{display:flex;flex-direction:column;gap:6px;max-width:980px;margin-top:16px;font-size:var(--fs-small);font-style:italic;line-height:1.35;color:#666}

/* Legal page */
.pdv-legal{display:flex;flex-direction:column;gap:14px;max-width:820px;color:#1a1a1a}
.pdv-legal p{margin:0;text-wrap:pretty}
.pdv-legal h2{margin:28px 0 0;font-family:var(--font-body);font-weight:700;font-size:var(--fs-card-title);scroll-margin-top:24px}

@media (max-width:760px){
  .pdv-table-wrap{display:none}
  .pdv-packages-mobile{display:block}
  .pdv-mobile-package .pdv-table-sub{margin:0}
  .pdv-mobile-package .pdv-package-price{margin:10px 0 16px}
  .pdv-mobile-package:last-child{padding-bottom:24px;border-bottom:1px solid #ddd}
  .pdv-package-details dd{flex:none}
  .pdv-proj-btn{grid-template-columns:minmax(0,1fr) 14px;gap:2px 16px}
  .pdv-proj-date,.pdv-proj-title,.pdv-proj-meta{grid-column:1}
  .pdv-proj-icon{grid-column:2;grid-row:1 / span 4}
  .pdv-proj-copy{padding-left:0}
  .pdv-table th:first-child{min-width:140px}
}

/* ---------- Contact form: original design-system style, accent follows the chosen topic ---------- */
.pdv-oform{position:relative;display:flex;flex-direction:column;gap:22px;max-width:980px;margin-top:8px;color:#1a1a1a;
  --pc-green:var(--accent);--pc-green-hover:var(--accent-hover);--pc-green-press:var(--accent-hover);
  --shadow-focus:0 0 0 .5px var(--accent)}
.pdv-oform a{color:var(--accent)}
.pdv-contact-book{margin:0 0 12px;max-width:980px;font-size:var(--fs-body);line-height:1.35;color:#1a1a1a}
.pdv-contact-book a{color:var(--accent)}
.pdv-oform button{transition:background-color .3s ease,border-color .3s ease}
.pdv-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.pdv-oselect{display:flex;flex-direction:column;gap:6px;font-family:var(--font-body);color:var(--text-body)}
.pdv-oselect > span{font-size:var(--fs-body);font-weight:700}
.pdv-oselect select{box-sizing:border-box;width:100%;margin:0;font:inherit;font-size:var(--fs-body);padding:10px 36px 10px 12px;border:1px solid #d9d9d9;border-radius:var(--radius-sm);background-color:var(--pc-white);color:inherit;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316170f' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;transition:border-color .3s ease,box-shadow .3s ease}
.pdv-oselect select:focus{border-color:var(--accent);box-shadow:0 0 0 .5px var(--accent)}
.pdv-oselect select.is-empty{color:#6e6e6e}
.pdv-oselect select option{color:#1a1a1a}
.pdv-thanks{color:var(--accent)}
.pdv-ofield{display:flex;flex-direction:column;gap:6px;min-width:0}
.pdv-ofield.is-missing input:not([type="checkbox"]),.pdv-ofield.is-missing textarea,.pdv-ofield.is-missing select{border-color:#b42318 !important;box-shadow:none !important}
.pdv-oconsent.is-missing input[type="checkbox"]{outline:1.5px solid #b42318;outline-offset:2px}
.pdv-omsg{margin:0;font-size:var(--fs-small);color:#b42318;font-weight:400}

/* Send button: solid #1a1a1a until a section topic is chosen, then that topic's colour fades in */
.pdv-send3{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-width:168px;padding:14px 30px;border:0;border-radius:var(--radius-sm);cursor:pointer;
  font-family:var(--font-body);font-size:var(--fs-card-title);font-weight:600;line-height:1.2;color:#fff;
  background:#1a1a1a}
.pdv-send3-solid{position:absolute;inset:0;z-index:-1;background-color:var(--accent);opacity:0;transition:opacity .3s ease,background-color .3s ease}
.pdv-send3.has-topic .pdv-send3-solid{opacity:1}
.pdv-send3::after{content:"";position:absolute;inset:0;z-index:-1;background:#000;opacity:0;transition:opacity .2s ease}
.pdv-send3:hover::after{opacity:.1}
.pdv-send3-label{display:inline-flex;align-items:center;gap:.4em}
.pdv-send3-arrow{display:inline-block;transition:transform .2s ease}
.pdv-send3:hover .pdv-send3-arrow{transform:translateX(3px)}
.pdv-send3.is-sending{cursor:progress}
.pdv-send3.is-sending .pdv-send3-arrow{display:none}
.pdv-send3:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.pdv-send3-solid,.pdv-send3::after,.pdv-send3-arrow{transition:none}}

/* ---------- Typewriter line (pdv-typewriter.js) ---------- */
.pdv-prose [data-typewriter]{font-size:clamp(18px,1.45vw + 8.5px,29px);font-style:italic;color:#666}
.pdv-tw-c{color:transparent}
.pdv-tw-c.is-on{color:inherit}
.pdv-tw-start,.pdv-tw-c.is-caret{position:relative}
.pdv-tw .is-caret::after{content:"";position:absolute;left:100%;margin-left:.08em;bottom:.2em;width:2px;height:.72em;background:var(--accent);animation:pdv-blink 1s steps(1,end) infinite}
[data-typewriter].is-static .is-caret::after{animation:none}
@keyframes pdv-blink{0%{opacity:1}50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.pdv-tw .is-caret::after{animation:none}}

html,body{margin:0;background:#fff}

/* ---------- Contact form text fields (from the design system's TextField component) ---------- */
.pdv-tfield{display:flex;flex-direction:column;gap:6px;font-family:var(--font-body);color:var(--text-body)}
.pdv-tfield > span{font-size:var(--fs-body);font-weight:700}
.pdv-tfield input,.pdv-tfield textarea{box-sizing:border-box;width:100%;margin:0;font:inherit;font-size:var(--fs-body);padding:10px 12px;border:1px solid #d9d9d9;border-radius:var(--radius-sm);background:var(--pc-white);color:inherit;outline:none;box-shadow:none;resize:vertical}
.pdv-tfield input:focus,.pdv-tfield textarea:focus{border-color:var(--accent);box-shadow:0 0 0 .5px var(--accent)}
.pdv-tfield textarea{min-height:140px}
.pdv-ogrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px}
.pdv-oconsent{display:flex;flex-direction:column;gap:8px;max-width:620px}
.pdv-oconsent label{display:flex;align-items:center;gap:10px;font-size:var(--fs-small);cursor:pointer}
.pdv-oconsent input[type="checkbox"]{width:20px;height:20px;margin:0;accent-color:var(--accent);flex:none}
.pdv-oactions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:6px}
.pdv-oactions em{font-size:var(--fs-small)}
.pdv-oerror{margin:0;padding:14px 18px;border:1.5px solid var(--pc-ink);border-radius:var(--radius-sm)}
.pdv-oerror a{font-weight:700}
[hidden]{display:none !important}

/* ---------- Mobile refinements (phones only) ---------- */
@keyframes pdv-fade-out{to{opacity:0}}
@keyframes pdv-fade-in{from{opacity:0}}
@media (max-width:760px){
  /* Fill the visible screen exactly, so pages that fit don't scroll (100svh ignores the browser bars). */
  .pdv-site{min-height:100vh;min-height:100svh;grid-template-rows:auto 1fr}
  /* Header: logo + name, with the whole menu on one line below it. */
  .pdv-side{flex-direction:column;align-items:stretch;gap:14px;padding:18px 20px 12px}
  .pdv-nav{padding-top:0}
  .pdv-nav ul{flex-wrap:nowrap;justify-content:space-between;gap:0 10px}
  .pdv-nav a{font-size:15px;white-space:nowrap}
  .pdv-main{padding:28px 20px 20px}
  .pdv-contact-book{margin-bottom:8px}
  .pdv-footer{padding-top:24px;font-size:13px;gap:6px}
  /* Page transitions: the header stays put; the content fades out, then the new content fades in (no overlap). */
  .pdv-main,.pdv-brand-mark{view-transition-name:none}
  .pdv-side{view-transition-name:pdv-side}
  ::view-transition-old(pdv-side),::view-transition-new(pdv-side){animation-duration:.25s}
  ::view-transition-old(root){animation:pdv-fade-out .15s ease both}
  ::view-transition-new(root){animation:pdv-fade-in .25s ease .12s both}
  /* Contact form: compact, so the whole form fits on one screen. */
  .pdv-contact-intro p,.pdv-contact-intro h1{margin:0 0 .5em}
  .pdv-oform{gap:10px;margin-top:0}
  .pdv-ogrid{grid-template-columns:1fr 1fr;gap:10px}
  .pdv-tfield,.pdv-oselect{gap:4px}
  .pdv-tfield > span,.pdv-oselect > span{font-size:14px}
  .pdv-tfield input,.pdv-oselect select{padding:8px 10px;font-size:16px}
  .pdv-oselect select{padding-right:30px}
  .pdv-tfield textarea{min-height:84px;padding:8px 10px;font-size:16px}
  .pdv-oconsent label{font-size:13px;gap:8px}
  .pdv-oconsent input[type="checkbox"]{width:18px;height:18px}
  .pdv-omsg{font-size:12px}
  .pdv-oactions{padding-top:2px;gap:12px}
  .pdv-send3{min-width:0;padding:11px 24px;font-size:16px}
  .pdv-oactions em{font-size:12px}
}
/* Visitors who asked their device for less motion get no page transition at all. */
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}


/* ---------- Product page: experience cards (from the Claude Design export) ---------- */
/* Nested project list (Work): one row per project, one open at a time */
.pdv-projs{border-top:1px solid #ddd}
.pdv-work-label{margin:0 0 .4em !important;font-family:var(--font-display) !important;font-weight:700 !important;font-size:15px !important;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.pdv-work{display:flex;flex-direction:column;gap:48px;max-width:980px;color:#1a1a1a}
.pdv-skillline{font-size:var(--fs-small);color:#666}
.pdv-role{display:flex;flex-direction:column;gap:14px;padding-top:28px;border-top:1px solid #ddd}
.pdv-role p{margin:0;text-wrap:pretty}
.pdv-role-t{margin:0;font-family:var(--font-body);font-weight:600;font-size:clamp(21px,0.7vw + 16px,26px);line-height:1.3}
.pdv-role .pdv-projs{margin-top:10px}
.pdv-role-head{display:flex;flex-direction:column;gap:4px}
.pdv-role-co{margin:0;font-family:var(--font-display);font-weight:700;font-size:clamp(26px,1vw + 18px,34px);line-height:1;letter-spacing:.02em;text-transform:uppercase;color:#1a1a1a}
.pdv-role-meta{margin:0;display:flex;flex-wrap:wrap;gap:0 10px;font-size:var(--fs-small);color:#666}
.pdv-role-meta span{color:#bbb}
.pdv-case-btn{grid-template-columns:minmax(0,1fr) auto 14px;padding:16px 0}
.pdv-case-btn .pdv-proj-title{font-weight:600}
.pdv-case-body{display:flex;flex-direction:column;gap:8px;max-width:720px;padding:0 0 20px}
.pdv-case-body p{margin:0;text-wrap:pretty}
.pdv-case-outcome{font-weight:600}
@media (max-width:760px){.pdv-case-btn{grid-template-columns:minmax(0,1fr) 14px}.pdv-case-btn .pdv-skillline{grid-column:1}}
.pdv-role-title{margin:0;font-family:var(--font-body);font-weight:600;font-size:var(--fs-lead);line-height:1.3;color:#1a1a1a}
.pdv-role-head .pdv-role-co{margin-bottom:6px}
.pdv-role p a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.18em;text-decoration-skip-ink:auto;transition:color .3s ease}
.pdv-role p a:hover{color:var(--accent-hover)}
/* Experience cards (Product-Work): two side by side, logo area on top */
.pdv-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.pdv-role.pdv-card{padding:0;border:1.5px solid var(--accent);border-radius:12px;overflow:hidden;background:#fff;gap:0}
/* one asterisk in each card's top-right corner, in the page accent; turns on hover */
.pdv-card-body{position:relative}
.pdv-card-ast{position:absolute;top:24px;right:24px;width:30px;height:30px;background-color:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .9s cubic-bezier(.2,.7,.2,1),background-color .3s ease}
.pdv-card:hover .pdv-card-ast{transform:rotate(90deg)}
.pdv-card .pdv-role-head{padding-right:44px}
@media (prefers-reduced-motion:reduce){.pdv-card-ast{transition:none}.pdv-card:hover .pdv-card-ast{transform:none}}
.pdv-card-mono{font-family:var(--font-display);font-weight:700;font-size:clamp(48px,5vw,72px);line-height:1;color:var(--accent);opacity:.9}
.pdv-card-body{display:flex;flex-direction:column;gap:14px;padding:28px 24px 8px}
.pdv-role.pdv-card{container-type:inline-size}
.pdv-card .pdv-role-co{font-size:clamp(18px,5cqi,26px);white-space:nowrap}
.pdv-card .pdv-projs{margin:6px -24px 0;border-top:1px solid #ddd}
.pdv-card .pdv-proj{padding:0 24px}
.pdv-card .pdv-proj:last-child{border-bottom:0}
.pdv-card .pdv-case-btn{grid-template-columns:minmax(0,1fr) 14px;gap:2px 16px}
.pdv-card .pdv-case-btn .pdv-proj-title,.pdv-card .pdv-case-btn .pdv-skillline{grid-column:1}
.pdv-card .pdv-case-btn .pdv-proj-icon{grid-column:2;grid-row:1 / span 2;align-self:start}
.pdv-card .pdv-case-body .pdv-skillline{min-width:0;white-space:normal;overflow:visible;text-overflow:clip}
.pdv-prose .pdv-type-headline[data-typewriter]{font-family:var(--font-body);font-weight:400;font-style:normal;text-transform:none;letter-spacing:0;font-size:inherit;line-height:1.3;color:#1a1a1a;margin-bottom:1em}
.pdv-tw-strong{font-weight:700}
.pdv-tw-strong.is-on,.pdv-type-headline strong{color:var(--accent);font-weight:700}
.pdv-intro-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:980px;margin:0 0 32px;color:#1a1a1a}
/* pages with the experience cards sit a little further from the sidebar */
.pdv-intro-cols p{margin:0;text-wrap:pretty}
.pdv-intro-cols .pdv-intro-l{margin:0 0 10px;font-family:var(--font-display);font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.pdv-cards-lead{max-width:980px;margin:0 0 16px;font-size:var(--fs-small);font-weight:600;color:#666}
.pdv-cards-lead + .pdv-work{margin-top:0}
.pdv-card .pdv-case-btn{padding:14px 0}
.pdv-card .pdv-case-btn .pdv-proj-title{min-width:0;white-space:normal;overflow:visible;text-overflow:clip}
/* Cards collapse as a whole: company, role, dates and first sentence show; the rest opens with "See what I did" */
.pdv-cards{align-items:stretch}
.pdv-cards.is-any-open{align-items:start}
.pdv-role.pdv-card{display:flex;flex-direction:column}
.pdv-card .pdv-card-body{flex:1;padding-bottom:0}
.pdv-card-more{margin:0 -24px}
.pdv-card-more.is-open{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .22s ease,visibility 0s linear 0s}
.pdv-card-more-body{display:flex;flex-direction:column;gap:14px;padding:0 24px}
.pdv-card-more-body > p{margin:0;text-wrap:pretty}
.pdv-card-toggle{all:unset;box-sizing:border-box;cursor:pointer;margin:auto -24px 0;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ddd;color:var(--accent);font-family:var(--font-body);font-weight:600;font-size:var(--fs-body)}
.pdv-card-toggle:hover{color:var(--accent-hover)}
.pdv-card-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:4px}
.pdv-card-toggle .pdv-acc-icon{width:12px;height:12px}
.pdv-card-toggle.is-open .pdv-acc-icon::after{transform:rotate(90deg) scaleX(0)}
.pdv-card-more.is-open + .pdv-card-toggle{margin-top:0}
@media (max-width:1000px){.pdv-cards{grid-template-columns:minmax(0,1fr)}}

/* ---------- Logo: big asterisk + name on two lines, in capitals ---------- */
.pdv-brand{gap:14px;font-family:var(--font-display);font-size:19px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;line-height:1.05;white-space:normal}
.pdv-brand-mark{width:44px;height:44px}
@media (max-width:760px){.pdv-brand{font-size:16px;gap:12px}.pdv-brand-mark{width:36px;height:36px}}

/* ---------- Consulting: small asterisk before each section title (turns when hovered or open) ---------- */
.pdv-acc-label{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0}
.pdv-acc-ast{margin-top:.2em}
.pdv-acc-ast{display:block;flex:none;width:.85em;height:.85em;background-color:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2250 2250'%3E%3Cpath d='M 1658.6 75 L 1301.4 934.9 L 2165.7 577.7 L 2249.5 762.9 L 1380.8 1120.1 L 2249.5 1477.3 L 2165.7 1658.1 L 1301.4 1300.9 L 1658.6 2165.2 L 1477.8 2249 L 1120.6 1380.3 L 763.4 2249 L 582.6 2165.2 L 935.4 1300.9 L 75.5 1658.1 L 0.5 1477.3 L 860.4 1120.1 L 0.5 762.9 L 75.5 582.1 L 935.4 934.9 L 582.6 75 L 763.4 0 L 1120.6 859.9 L 1477.8 0 Z M 1658.6 75'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.pdv-acc-btn:hover .pdv-acc-ast,.pdv-acc.is-open > .pdv-acc-h .pdv-acc-ast{transform:rotate(90deg)}
.pdv-acc-heading{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.pdv-acc-title-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.pdv-acc-subtitle{display:block;max-width:980px;font-family:var(--font-body);font-weight:400;line-height:1.4;white-space:normal}
.pdv-acc-btn:hover .pdv-role-co{color:var(--accent)}
body[data-section="consulting"] .pdv-accs{container-type:inline-size}
/* Match title sizing to the Product cards at the same available width. */
body[data-section="consulting"] .pdv-acc-title{font-size:clamp(18px,calc(2.5cqi - .75px),26px);white-space:nowrap}
@media (max-width:1000px){body[data-section="consulting"] .pdv-acc-title{font-size:clamp(18px,calc(5cqi - .15px),26px)}}
@media (prefers-reduced-motion:reduce){.pdv-acc-ast{transition:none}}

/* ---------- Unified type and text width across pages ---------- */
/* Every page: one big headline, then body-size text, never wider than ~75 characters per line */
@media (max-width:760px){
  body:not([data-section="home"]) .pdv-prose{font-size:22px;line-height:1.35}
  .pdv-prose [data-typewriter]{font-size:inherit}
}

/* About page: one text width (same as the Product intro); open sections with Consulting-style titles */
.pdv-about{display:flex;flex-direction:column;max-width:980px;margin-bottom:24px}
.pdv-about .pdv-intro-cols{margin:0}
.pdv-about-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 48px;align-items:start;margin-bottom:48px}
.pdv-about-top .pdv-prose p{margin-bottom:.45em}
.pdv-about-sub{margin:0;color:#1a1a1a;text-wrap:pretty}
.pdv-about-pic{display:block;height:var(--pic-h,260px);width:auto;max-width:320px;object-fit:contain;object-position:top right;transform:scale(1.35);transform-origin:right center}
.pdv-about strong{font-weight:600}
/* links to a section keep that section's colour (Product blue, Consulting green) */
.pdv-intro-cols a[class*="pdv-to-"]{color:var(--to)}
.pdv-intro-cols a[class*="pdv-to-"]:hover{color:var(--to-hover)}
.pdv-about-sec{border-top:1px solid #ddd;padding-bottom:40px}
.pdv-about-h{margin:0;padding:22px 0 18px;display:flex;align-items:center;gap:12px;font-family:var(--font-display);font-weight:700;font-size:clamp(20px,0.6vw + 15px,24px);line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#1a1a1a}
.pdv-about-h .pdv-acc-ast{width:.85em;height:.85em;background-color:#5f5f5f}
/* Testimonial cards: Product-style cards in the page's accent, sliding in an endless loop */
.pdv-qmarquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%)}
.pdv-qtrack{display:flex;align-items:stretch;width:max-content;animation:pdv-qscroll 45s linear infinite}
@keyframes pdv-qscroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.pdv-qcard{flex:none;width:320px;box-sizing:border-box;margin:0 20px 0 0;display:flex;flex-direction:column;gap:16px;padding:24px;border:1.5px solid var(--accent);border-radius:12px;background:#fff}
.pdv-qcard blockquote{margin:0}
.pdv-qcard blockquote p{margin:0;color:#1a1a1a;text-wrap:pretty}
.pdv-qcard figcaption{margin-top:auto;font-size:var(--fs-small);color:#666}
.pdv-qcard figcaption strong{font-weight:600}
/* Hand-drawn doodles on the testimonial cards (same ink as the portrait) */
.pdv-qmark{display:block;width:38px;height:29px;margin:0 0 -8px -4px;color:#1a1a1a}
.pdv-scribble{position:relative;display:inline-block;white-space:nowrap}
.pdv-scribble svg{position:absolute;left:-3px;bottom:-6px;width:calc(100% + 6px);height:9px;overflow:visible;color:#1a1a1a;pointer-events:none}
/* longer phrases: the same pen underline, continuing onto the next line when the phrase wraps */
.pdv-scribble.is-wrap{display:inline;white-space:normal;padding-bottom:7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='10' viewBox='0 0 140 10'%3E%3Cpath d='M0 5.6c11-1.7 21-2.4 32-1.2 10 1.1 18 2.2 29 .9 12-1.4 22-2.6 34-1.3 13 1.4 26 2.1 45 1.6' fill='none' stroke='%231a1a1a' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M0 8.2c17-1.3 35-.9 52-.3 21 .7 52-.2 88-1.5' fill='none' stroke='%231a1a1a' stroke-width='1.1' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") repeat-x left bottom/140px 10px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
@media (max-width:760px){.pdv-qcard{width:270px;margin-right:16px}}
/* reduced motion: no movement; the cards can be scrolled sideways instead */
@media (prefers-reduced-motion:reduce){.pdv-qmarquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.pdv-qtrack{animation:none}.pdv-qcard.is-copy{display:none}}
@media (max-width:760px){
  .pdv-about-top{grid-template-columns:minmax(0,1fr);margin-bottom:36px}
  .pdv-about-pic{grid-row:1;justify-self:start;height:160px;transform:none}
  .pdv-about-sec{padding-bottom:32px}
}

/* About: asterisk centred on the title line; testimonials pause while hovered or focused */
.pdv-about-h .pdv-acc-ast{margin-top:0}
.pdv-qmarquee:hover .pdv-qtrack,.pdv-qmarquee:focus-within .pdv-qtrack{animation-play-state:paused}
.pdv-about .pdv-intro-cols a:not([class*="pdv-to-"]){color:var(--accent);text-decoration-thickness:1.5px;text-underline-offset:.18em;transition:color .3s ease}
.pdv-about .pdv-intro-cols a:not([class*="pdv-to-"]):hover{color:#1a1a1a}
.pdv-about .pdv-intro-cols a[class*="pdv-to-"]{text-decoration-thickness:1.5px;text-underline-offset:.18em}
/* About in the menu: grey like Home and Contact */
.pdv-to-about{--to:#5f5f5f;--to-hover:#474747}
/* Plain links in intro text follow the page colour (blue on Product, green on Consulting, grey on About) */
.pdv-intro-cols a:not([class*="pdv-to-"]){color:var(--accent);text-decoration-thickness:1.5px;text-underline-offset:.18em;transition:color .3s ease}
.pdv-intro-cols a:not([class*="pdv-to-"]):hover{color:var(--accent-hover,#1a1a1a)}

/* ---------- Language toggle (EN / ES) ---------- */
.pdv-lang{display:flex;align-items:center;gap:6px;font-size:var(--fs-caption);color:#8a8a8a;margin-top:-12px}
.pdv-lang a{color:#5f5f5f;text-decoration:none;letter-spacing:.04em;transition:color .3s ease}
.pdv-lang a:hover{color:#1a1a1a;text-decoration:underline;text-underline-offset:3px}
.pdv-lang a[aria-current]{color:#1a1a1a;font-weight:600}
.pdv-lang a[aria-current]:hover{text-decoration:none}
@media (max-width:760px){
  .pdv-side{position:relative}
  .pdv-lang{position:absolute;top:22px;right:20px;margin:0;font-size:13px}
}
/* Spanish menu labels are longer: tighten them on small phones so they stay on one line */
@media (max-width:420px){
  html[lang="es"] .pdv-nav ul{gap:0 6px}
  html[lang="es"] .pdv-nav a{font-size:14px}
}
@media (max-width:370px){
  html[lang="es"] .pdv-nav a{font-size:13px}
}

/* ---------- Blog ---------- */
.pdv-to-blog{--to:#5f5f5f;--to-hover:#474747}
.pdv-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1080px;margin-top:8px}
.pdv-post{display:flex;flex-direction:column;border:1.5px solid #e2e0da;border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;background:#fff;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.pdv-post:hover,.pdv-post:focus-visible{transform:translateY(-3px);border-color:#5f5f5f;box-shadow:0 10px 24px rgba(0,0,0,.06)}
.pdv-post-img{aspect-ratio:16/9;overflow:hidden;background:#efeeea}
.pdv-post-img img{display:block;width:100%;height:100%;object-fit:cover}
.pdv-post-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.pdv-post-meta{font-size:14px;color:#8a8a8a;letter-spacing:.02em}
.pdv-readtime{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.pdv-readtime svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pdv-post-title{font-family:var(--font-display);font-weight:700;font-size:21px;line-height:1.2;margin:0;color:#1a1a1a;text-transform:uppercase;letter-spacing:.02em}
.pdv-post-sub{font-size:16px;line-height:1.45;color:#5f5f5f;margin:0}
@media (max-width:1100px){.pdv-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.pdv-blog-grid{grid-template-columns:1fr;gap:20px}}
.pdv-article{max-width:720px}
.pdv-article-back{display:inline-block;font-size:15px;color:#5f5f5f;text-decoration:none;margin-bottom:28px;transition:color .3s ease}
.pdv-article-back:hover{color:#1a1a1a}
.pdv-article-back-end{margin:16px 0 0}
.pdv-author{display:flex;align-items:center;gap:20px;margin:48px 0 8px;padding-top:28px;border-top:1px solid #e2e0da}
.pdv-author img{flex:none;width:72px;height:auto}
.pdv-author p{font-size:17px !important;line-height:1.55 !important;color:#5f5f5f;margin:0 !important}
.pdv-author a{color:#1a1a1a;text-decoration-thickness:1.5px;text-underline-offset:.18em}
.pdv-article-meta{font-size:15px;color:#8a8a8a;margin:0 0 14px}
.pdv-article h1{font-family:var(--font-body);font-weight:400;font-size:40px;line-height:1.15;margin:0 0 14px;color:#1a1a1a;text-transform:none;letter-spacing:0}
.pdv-article-sub{font-size:21px;line-height:1.45;color:#5f5f5f;margin:0 0 32px}
.pdv-article-img{border-radius:14px;margin-bottom:36px}
.pdv-article p:not(.pdv-article-meta):not(.pdv-article-sub){font-size:19px;line-height:1.65;margin:0 0 22px}
.pdv-article h2{font-family:var(--font-display);font-weight:700;font-size:24px;line-height:1.25;margin:44px 0 14px;color:#1a1a1a;text-transform:uppercase;letter-spacing:.02em}
.pdv-article p a{color:var(--accent);text-decoration-thickness:1.5px;text-underline-offset:.18em;transition:color .3s ease}
.pdv-article p a:hover{color:#1a1a1a}
@media (max-width:760px){
  .pdv-article h1{font-size:30px}
  .pdv-article-sub{font-size:18px;margin-bottom:24px}
  .pdv-article p:not(.pdv-article-meta):not(.pdv-article-sub){font-size:17px;line-height:1.6}
  .pdv-article h2{font-size:21px;margin-top:36px}
}
/* Six menu items: keep the mobile menu on one line */
@media (max-width:420px){ .pdv-nav ul{gap:0 8px} .pdv-nav a{font-size:14px} }
@media (max-width:370px){ .pdv-nav ul{gap:0 6px} .pdv-nav a{font-size:13px} }
@media (max-width:400px){ html[lang="es"] .pdv-nav ul{gap:0 5px} html[lang="es"] .pdv-nav a{font-size:13px} }
@media (max-width:370px){ html[lang="es"] .pdv-nav ul{gap:0 4px} html[lang="es"] .pdv-nav a{font-size:12px} }
@media (max-width:345px){ .pdv-nav ul{flex-wrap:wrap;row-gap:6px} }
/* More space between the menu and the EN / ES toggle (desktop sidebar) */
@media (min-width:761px){ .pdv-lang{margin-top:28px} }

/* Five menu items (Home removed, the logo links home): normal size again on phones */
@media (max-width:420px){
  .pdv-nav ul, html[lang="es"] .pdv-nav ul{gap:0 10px}
  .pdv-nav a, html[lang="es"] .pdv-nav a{font-size:15px}
}
@media (max-width:370px){
  .pdv-nav ul, html[lang="es"] .pdv-nav ul{gap:0 8px}
  .pdv-nav a, html[lang="es"] .pdv-nav a{font-size:14px}
}
@media (max-width:345px){ .pdv-nav a, html[lang="es"] .pdv-nav a{font-size:13px} }
@media (max-width:400px) and (min-width:371px){ html[lang="es"] .pdv-nav ul{gap:0 8px} html[lang="es"] .pdv-nav a{font-size:14px} }

/* ---------- Homepage intro (first visit per session) ---------- */
.pdv-intro-ghost{position:fixed;z-index:50;color:#1a1a1a;transform-origin:0 0;pointer-events:none;text-wrap:pretty}
.pdv-intro-caret{display:inline-block;width:.06em;height:.95em;margin-left:.06em;vertical-align:-.12em;background:#1a1a1a;animation:pdv-intro-blink .9s steps(1) infinite}
@keyframes pdv-intro-blink{50%{opacity:0}}
/* while pending/playing: the real text keeps its space but stays invisible */
.pdv-intro-pending body[data-section="home"] .pdv-prose,
.pdv-intro-pending body[data-section="home"] .pdv-footer{opacity:0;animation:pdv-intro-failsafe .01s 4s forwards}
@keyframes pdv-intro-failsafe{to{opacity:1}}
/* reveal: first sentence appears at once, the rest fades in from a soft blur */
.pdv-intro-reveal body[data-section="home"] .pdv-prose,
.pdv-intro-reveal body[data-section="home"] .pdv-footer{opacity:1;animation:none}
.pdv-intro-reveal body[data-section="home"] .pdv-intro-rest,
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p,
.pdv-intro-reveal body[data-section="home"] .pdv-footer{animation:pdv-intro-in .8s cubic-bezier(.2,.7,.2,1) both}
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p:nth-of-type(1){animation-delay:.08s}
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p:nth-of-type(2){animation-delay:.16s}
.pdv-intro-reveal body[data-section="home"] .pdv-footer{animation-delay:.24s}
@keyframes pdv-intro-in{from{opacity:0;filter:blur(6px);transform:translateY(6px)}to{opacity:1;filter:none;transform:none}}
.pdv-intro-rest{display:inline}
@media (prefers-reduced-motion:reduce){.pdv-intro-ghost{display:none}}

/* ---------- Underline wiggle on in-text links (once per hover / keyboard focus) ---------- */
@keyframes pdv-underline-wiggle{
  0%  {text-underline-offset:.18em;text-decoration-style:solid}
  15% {text-underline-offset:.3em;text-decoration-style:wavy}
  40% {text-underline-offset:.12em;text-decoration-style:wavy}
  65% {text-underline-offset:.24em;text-decoration-style:wavy}
  100%{text-underline-offset:.18em;text-decoration-style:solid}
}
@media (prefers-reduced-motion:no-preference){
  .pdv-prose a:hover, .pdv-prose a:focus-visible,
  .pdv-intro-cols a:hover, .pdv-intro-cols a:focus-visible,
  .pdv-article p a:hover, .pdv-article p a:focus-visible,
  .pdv-author a:hover, .pdv-author a:focus-visible{animation:pdv-underline-wiggle .45s ease-out 1}
}
.pdv-intro-first-in body[data-section="home"] .pdv-prose{opacity:1;animation:none}
.pdv-intro-first-in body[data-section="home"] .pdv-intro-rest,
.pdv-intro-first-in body[data-section="home"] .pdv-prose > p{opacity:0}
.pdv-intro-first-in body[data-section="home"] .pdv-intro-first{animation:pdv-intro-fade .35s ease .35s both}
@keyframes pdv-intro-fade{from{opacity:0}to{opacity:1}}
.pdv-intro-reveal body[data-section="home"] .pdv-intro-rest,
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p{opacity:1}
/* Smoother intro hand-off: plain opacity fade (no blur), a little slower */
.pdv-intro-ghost{will-change:transform,opacity}
@keyframes pdv-intro-in{from{opacity:0}to{opacity:1}}
.pdv-intro-reveal body[data-section="home"] .pdv-intro-rest,
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p,
.pdv-intro-reveal body[data-section="home"] .pdv-footer{animation:pdv-intro-in 1s cubic-bezier(.25,.1,.25,1) both}
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p:nth-of-type(1){animation-delay:.12s}
.pdv-intro-reveal body[data-section="home"] .pdv-prose > p:nth-of-type(2){animation-delay:.24s}
.pdv-intro-reveal body[data-section="home"] .pdv-footer{animation-delay:.36s}
/* once finished, nothing keeps animating */
.pdv-intro-done body[data-section="home"] .pdv-prose,.pdv-intro-done body[data-section="home"] .pdv-footer,
.pdv-intro-done body[data-section="home"] .pdv-intro-rest,.pdv-intro-done body[data-section="home"] .pdv-prose > p{opacity:1}

/* ---------- Link hover: soft highlighter (replaces the underline wiggle) ----------
   A light tint of the link's own colour sweeps in behind the word. */
.pdv-prose a, .pdv-intro-cols a, .pdv-article p a, .pdv-author a{
  background-image:linear-gradient(rgba(95,95,95,.14),rgba(95,95,95,.14));
  background-image:linear-gradient(color-mix(in srgb,currentColor 14%,transparent),color-mix(in srgb,currentColor 14%,transparent));
  background-repeat:no-repeat;background-position:0 88%;background-size:0 45%;
  transition:color .3s ease,background-size .35s ease}
.pdv-prose a:hover, .pdv-prose a:focus-visible,
.pdv-intro-cols a:hover, .pdv-intro-cols a:focus-visible,
.pdv-article p a:hover, .pdv-article p a:focus-visible,
.pdv-author a:hover, .pdv-author a:focus-visible{animation:none;background-size:100% 45%}
@media (prefers-reduced-motion:reduce){
  .pdv-prose a, .pdv-intro-cols a, .pdv-article p a, .pdv-author a{transition:color .3s ease}
}
