/* peterwilsons.com draft v11 — Peter's Claude artifact design (Archivo + Inter), jontyson.org panel rhythm */
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/Inter-var.woff2") format("woff2"); }

:root {
  --ink: #141414;
  --body: #3F3F3F;
  --grey: #4A4A4A;
  --mid: #555555;
  --accent: #9A4A1F;
  --accent-light: #E3A887;
  --stone: #F4F2EE;
  --stone-deep: #E2DFD8;
  --sand: #E8E6E1;
  --dark: #141414;
  --dark-2: #2A2A2A;
  --rule: #E2E0DB;
  --chip: #C9C5BD;
  --foot: #BDBDBD;
  --max: 1200px;
  --pad: 24px;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--grey); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.draft-bar { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 7px 12px; }

/* header */
.top { max-width: var(--max); margin: 0 auto; padding: 28px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .08em; text-decoration: none; color: var(--ink); }
.top nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; font-weight: 500; }
.top nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* shared */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E6E6E6; color: var(--ink); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.placeholder { background: var(--sand); color: var(--mid); font-size: .9375rem; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.placeholder-line { color: var(--mid); }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 112px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 1.04; letter-spacing: -.02em; }
.hero-body { display: flex; flex-direction: column; gap: 14px; max-width: 36rem; font-size: 1.125rem; color: var(--body); }
.hero-body .strong { color: var(--ink); font-weight: 500; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .actions .btn { min-height: 52px; padding: 0 28px; }
.hero-photo { flex: 1 1 360px; min-width: 0; margin: 0; height: 520px; background: var(--sand); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); }

/* intro */
.intro { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px solid var(--rule); }
.intro h2 { margin-top: 56px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.01em; line-height: 1.1; }
.intro p { color: var(--grey); max-width: 26rem; }

/* panels */
.panel { max-width: var(--max); margin: 0 auto 32px; padding: 0 var(--pad); }
.panel-in { display: flex; flex-wrap: wrap; }
.panel-flip { flex-direction: row-reverse; }
.panel-light .panel-in { background: var(--stone); }
.panel-dark .panel-in { background: var(--dark); color: #fff; }
.panel-photo { flex: 1 1 440px; min-width: 0; min-height: 440px; margin: 0; position: relative; background: var(--stone-deep); overflow: hidden; }
.panel-dark .panel-photo { background: var(--dark-2); }
.panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#strategy .panel-photo img { filter: grayscale(1); object-position: 60% 50%; }
.panel-text { flex: 1 1 440px; min-width: 0; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.panel-text h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.panel-text .lead { font-size: 1.25rem; font-weight: 500; }
.panel-text .muted { color: var(--grey); }
.panel-dark .eyebrow { color: var(--accent-light); }
.panel-dark .muted { color: #D4D4D4; }
.panel-dark a { color: #fff; }
.title-link { text-decoration: none; color: inherit; }
.title-link:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.panel-text .btn { align-self: flex-start; margin-top: 8px; }
.exp { display: flex; flex-direction: column; gap: 10px; }
.exp-label { font-size: .875rem; color: var(--grey); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--chip); border-radius: 999px; font-size: .9375rem; font-weight: 500; }
#kinvi { margin-bottom: 112px; }

/* about */
.about { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 112px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about-photo { flex: 1 1 320px; min-width: 0; height: 420px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.about p { color: #333; }
.about .placeholder-line { color: var(--mid); }

/* contact */
.contact { background: var(--dark); color: #fff; }
.contact-in { max-width: var(--max); margin: 0 auto; padding: 96px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.contact-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; }
.contact .placeholder-line { color: #D4D4D4; }
.foot { max-width: var(--max); margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #333; font-size: .875rem; color: var(--foot); }
.foot-links { display: flex; gap: 24px; }
.foot a { color: var(--foot); }
.foot a:hover { color: #fff; }

/* reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* phone */
@media (max-width: 720px) {
  .top { padding: 20px var(--pad); }
  .top nav { gap: 4px 18px; font-size: .9rem; }
  .hero { padding: 40px var(--pad) 72px; gap: 36px; }
  .hero-photo { height: auto; aspect-ratio: 4 / 5; flex-basis: 100%; }
  .hero .actions .btn { flex: 1 1 auto; }
  .intro h2 { margin-top: 40px; }
  .panel-photo { min-height: 0; aspect-ratio: 4 / 3; flex-basis: 100%; }
  .panel-text { padding: 36px 24px 40px; }
  #kinvi { margin-bottom: 72px; }
  .about { padding-bottom: 72px; gap: 32px; }
  .about-photo { height: auto; aspect-ratio: 4 / 3; flex-basis: 100%; }
  .contact-in { padding: 64px var(--pad); }
}

/* fix: light button text on dark panel */
a.btn.btn-light, a.btn.btn-light:visited { color: #141414 !important; }

/* ===== v12: v10 clean aesthetic (Mona Sans, #F7F7F7, navy, monochrome) + smaller type ===== */
@font-face{font-family:"Mona Sans";src:url("fonts/MonaSans-normal.woff2") format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
:root{
  --ink:#303133; --body:#6B6D70; --grey:#6B6D70; --mid:#6B6D70;
  --accent:#253746; --accent-light:rgba(255,255,255,.66);
  --stone:#FFFFFF; --stone-deep:#ECECEC; --sand:#ECECEC;
  --dark:#253746; --dark-2:#2E4356; --rule:rgba(48,49,51,.16); --chip:rgba(48,49,51,.22); --foot:#8A8C8F;
  --display:"Mona Sans",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --text:"Mona Sans",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
}
body{background:#F7F7F7;font-size:15px;line-height:1.75;font-weight:450}
h1,h2,h3{font-weight:400;text-transform:uppercase;letter-spacing:-.005em}
.draft-bar{background:#253746;color:rgba(255,255,255,.66);font-size:11px;letter-spacing:.16em}
.mark{font-weight:500;font-size:14px;letter-spacing:.14em}
.top nav{font-size:13px;font-weight:450}
.eyebrow{font-size:12px;font-weight:500;color:#303133}
.panel-dark .eyebrow{color:rgba(255,255,255,.66)}
.hero h1{font-size:clamp(28px,4vw,46px);line-height:1.16;letter-spacing:-.005em;max-width:24ch}
.hero-body{font-size:15px;line-height:1.75}
.intro h2,.about h2{font-size:clamp(24px,2.6vw,32px);line-height:1.18}
.panel-text h3{font-size:clamp(22px,2.4vw,28px);line-height:1.18}
.panel-text .lead{font-size:16px;font-weight:450}
.contact h2{font-size:clamp(26px,3.2vw,38px);line-height:1.16}
.chips li{font-size:13px;font-weight:450}
.btn{font-weight:500;font-size:14px;letter-spacing:.02em;min-height:44px}
.btn-lg,.hero .actions .btn{min-height:48px}
.btn-dark{background:#253746}.btn-dark:hover{background:#2E4356}
.btn-outline{border-color:#303133}
.placeholder{font-size:13px}
.contact{background:#253746}

/* ===== mobile hamburger (Oct 20) ===== */
.menu-btn{display:none}
@media (max-width:760px){
  .top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;background:#F7F7F7;z-index:30}
  .menu-btn{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;margin-right:-10px;background:none;border:0;cursor:pointer}
  .menu-btn span{display:block;height:1.5px;width:24px;background:#303133;transition:transform .25s,opacity .2s}
  .menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  .top nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;background:#F7F7F7;border-bottom:1px solid rgba(48,49,51,.16);padding:8px 24px 16px}
  .top nav.open{display:flex}
  .top nav a{padding:14px 0;font-size:13px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;border-top:1px solid rgba(48,49,51,.10)}
  .top nav a:first-child{border-top:0}
}

/* ===== modern two-line menu + full-screen overlay (Oct 20, v2) ===== */
@media (max-width:760px){
  .menu-btn{gap:7px;z-index:41;position:relative}
  .menu-btn span{width:22px;height:1.5px}
  .menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(4.25px) rotate(45deg)}
  .menu-btn[aria-expanded="true"] span:nth-child(2){opacity:1;transform:translateY(-4.25px) rotate(-45deg)}
  .top nav{display:flex;position:fixed;inset:0;top:0;height:100dvh;z-index:40;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;padding:0 32px;background:#F7F7F7;border:0;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
  .top nav.open{opacity:1;visibility:visible;transition:opacity .3s ease}
  .top nav a{border:0;padding:10px 0;font-size:26px;font-weight:400;letter-spacing:.02em;color:#303133;transform:translateY(8px);opacity:0;transition:transform .4s ease,opacity .4s ease}
  .top nav.open a{transform:none;opacity:1}
  .top nav.open a:nth-child(2){transition-delay:.04s}.top nav.open a:nth-child(3){transition-delay:.08s}.top nav.open a:nth-child(4){transition-delay:.12s}.top nav.open a:nth-child(5){transition-delay:.16s}
  .mark{position:relative;z-index:41}
  body.menu-open{overflow:hidden}
}

/* ===== work logos (Oct 20) ===== */
.work{margin:4px 0 8px}
.work-label{font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#8A8C8F;margin-bottom:14px}
.logos{display:flex;flex-wrap:wrap;align-items:center;gap:20px 36px;list-style:none;margin:0;padding:0}
.logos img{display:block;width:auto;opacity:.85}
.lg-ekkl{height:30px}.lg-glorify{height:17px}.lg-bcf{height:52px}
.work-more{margin-top:14px;font-size:13px;color:#6B6D70}

/* ===== KinVi loop (Oct 20) ===== */
.panel-video{background:#0d0d0d}
.panel-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.panel-video video{object-fit:contain}

/* ===== About photo (Oct 20) ===== */
.about-photo-img{margin:0;overflow:hidden;background:#ECECEC}
.about-photo-img img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1)}

/* ===== MCG B&W loop (Oct 20) ===== */
.mcg-video video{object-fit:cover !important}

/* ===== Strategy aerial drawing (Oct 20) ===== */
#strategy .panel-photo{background:#0d0d0d}
#strategy .panel-photo img{filter:none;object-position:50% 50%}

/* strategy globe video */
#strategy .globe-video{background:#0d0d0d;overflow:hidden}
#strategy .globe-video video{display:block;width:100%;height:100%;object-fit:cover !important;object-position:50% 50%}

/* Oct 21: hero headline removed, name a touch bigger */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mark{font-size:17px}
.hero-body p:first-child{margin-top:0}

/* ===== Selected Work (Oct 21) ===== */
.selected-work{max-width:var(--max);margin:0 auto;padding:0 var(--pad) 112px}
.sw-head{border-top:1px solid var(--rule);padding-top:56px;margin-bottom:40px}
.selected-work h2{font-size:clamp(24px,2.6vw,32px);line-height:1.18}
.sw-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:761px){.sw-grid{grid-template-columns:1fr 1fr;gap:24px}}
.work-card{background:#FFFFFF;padding:36px 28px 40px;display:flex;flex-direction:column;gap:12px;scroll-margin-top:96px;border-radius:2px}
@media (min-width:761px){.work-card{padding:48px 44px 52px;scroll-margin-top:32px}#selected-work{scroll-margin-top:16px}}
#selected-work{scroll-margin-top:72px}
.wc-logo{height:52px;display:flex;align-items:center;margin-bottom:16px}
.wc-logo img{display:block;width:auto;opacity:.85}
.wl-ekkl{height:30px}.wl-glorify{height:17px}.wl-bcf{height:52px}
.wl-text{font-size:14px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#303133;opacity:.85;line-height:1.2}
.work-card .eyebrow{font-size:11px;letter-spacing:.14em;color:#6B6D70;line-height:1.6}
.work-card .wc-title{font-size:19px;line-height:1.35;font-weight:550;text-transform:none;letter-spacing:-.005em;color:#253746}
.wc-body{color:#6B6D70}
.work-card.flash{animation:wc-flash 2.2s ease-out .35s both}
@keyframes wc-flash{0%{box-shadow:0 0 0 0 rgba(37,55,70,0)}18%{box-shadow:0 0 0 2px rgba(37,55,70,.55)}100%{box-shadow:0 0 0 2px rgba(37,55,70,0)}}
@media (prefers-reduced-motion:reduce){.work-card.flash{animation-duration:3s;animation-delay:0s}}
/* logo links in the Strategy panel */
.logo-link{display:block;border-radius:2px;transition:opacity .2s ease}
.logo-link:hover,.logo-link:focus-visible{opacity:.6}
.logo-link:focus-visible,.work-jump:focus-visible{outline:2px solid #253746;outline-offset:6px}
.work-jump{align-self:flex-start;display:inline-block;margin-top:10px;font-size:13px;color:#303133;text-decoration:underline;text-decoration-color:rgba(48,49,51,.35);text-underline-offset:4px}
.work-jump:hover{color:#253746;text-decoration-color:#253746}
#kinvi{margin-bottom:112px}
@media (max-width:720px){.selected-work{padding-bottom:72px}.sw-head{padding-top:40px;margin-bottom:28px}#kinvi{margin-bottom:72px}}
@media (max-width:760px){.top nav.open a:nth-child(6){transition-delay:.2s}}

/* Oct 21 7:0x: Awakening logo + Visit site links */
.lg-awk{height:26px}.wl-awk{height:30px}
.wc-link{margin-top:auto;padding-top:16px;align-self:flex-start;font-size:13px;color:#253746;text-decoration:underline;text-decoration-color:rgba(37,55,70,.35);text-underline-offset:4px;transition:text-decoration-color .2s}
.wc-link:hover,.wc-link:focus-visible{text-decoration-color:#253746}
.wc-link:focus-visible{outline:2px solid #253746;outline-offset:4px}
