/* Homepage (template: front-page.html) */
.dm-home .h2,.dm-home h2{font-family:var(--serif);font-weight:400;font-size:clamp(44px,5.8vw,100px);line-height:.95;letter-spacing:-.03em}
.dm-home h2 em{font-style:normal;color:var(--accent)}

/* header */
.dm-home .nav{display:flex;align-items:center;gap:8px}
.dm-home .badge:hover{border-color:var(--accent)}
.dm-home .badge .more{opacity:.55}
.dm-home .navcta .wp-block-button__link{font-weight:500;font-size:15px;line-height:1.3;text-decoration:none;padding:9px 18px;border-radius:99px;background:var(--fg);color:var(--bg);white-space:nowrap}
@media (max-width:700px){.dm-home .badge{display:none}}

/* buttons */
.dm-home .actions{margin-top:36px;gap:12px}
.dm-home .solid .wp-block-button__link,.dm-home .line .wp-block-button__link{display:inline-flex;align-items:center;gap:12px;font-size:inherit;font-weight:500;line-height:1.3;text-decoration:none;padding:16px 26px;border-radius:99px;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .3s}
.dm-home .solid .wp-block-button__link{background:var(--accent);color:#fff}
.dm-home .solid .wp-block-button__link::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;transition:transform .5s var(--ease)}
.dm-home .solid .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 14px 28px -14px rgba(10,12,30,.45)}
.dm-home .solid .wp-block-button__link:hover::after{transform:translateX(3px)}
.dm-home .line .wp-block-button__link{background:transparent;color:inherit;border:1.5px solid color-mix(in oklab,var(--fg) 30%,transparent)}
.dm-home .line .wp-block-button__link:hover{border-color:var(--fg)}

/* HERO */
.dm-home .hero{min-height:100svh;padding:120px 0 60px;display:grid;align-items:center}
.dm-home .hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(28px,5vw,80px);align-items:center;width:100%}
.dm-home .hi{font-family:var(--serif);font-size:clamp(24px,2.2vw,34px);line-height:1.2;margin-bottom:18px}
.dm-home .hi .wave{display:inline-block;transform-origin:70% 70%}
.dm-home .hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(46px,6.4vw,112px);line-height:.94;letter-spacing:-.035em}
.dm-home .hero h1 em{font-style:normal;color:var(--accent)}
.dm-home .hero .lede{margin-top:30px;color:var(--muted);max-width:40ch}
.dm-home .hero .lede strong{color:var(--fg);font-weight:500}
.dm-home figure.moto{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:1382/2200;max-height:80svh;justify-self:end;width:100%;box-shadow:0 40px 80px -40px rgba(10,12,30,.5)}
.dm-home .moto img{width:100%;height:116%;object-fit:cover;object-position:50% 40%}
.dm-home .moto figcaption{position:absolute;left:14px;bottom:14px;font-family:var(--mono);font-size:12px;line-height:1.3;color:#fff;background:rgba(10,12,20,.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:6px 10px;border-radius:8px}
@media (max-width:900px){.dm-home .hero-grid{grid-template-columns:1fr}.dm-home figure.moto{justify-self:stretch;aspect-ratio:4/5;max-height:none}}

/* SPEC SHEET */
.dm-home .spec{padding-top:clamp(40px,6vh,80px)}
.dm-home .spec .grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:clamp(28px,5vw,90px);align-items:start}
.dm-home .specnote{font-size:clamp(15px,1.1vw,17px);color:var(--muted);margin-top:18px;line-height:1.5}
.dm-home ul.sheet{border-top:2px solid var(--fg)}
.dm-home .sheet li{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:14px;padding:18px 0;border-bottom:1px solid color-mix(in oklab,var(--fg) 14%,transparent)}
.dm-home .sheet .k{font-weight:500;display:flex;align-items:baseline;gap:14px}
.dm-home .sheet .k::after{content:"";flex:1;height:1px;align-self:center;background-image:linear-gradient(90deg,color-mix(in oklab,var(--fg) 35%,transparent) 40%,transparent 0);background-size:6px 1px;transform-origin:left;transform:scaleX(var(--p,1))}
.dm-home .sheet .v{font-family:var(--serif);font-size:clamp(26px,2.6vw,42px);line-height:1;text-align:right;letter-spacing:-.01em}
.dm-home .sheet .v small{display:block;font-family:var(--sans);font-size:13px;color:var(--muted);letter-spacing:0;margin-top:6px}
.dm-home .sheet .acc .v{color:var(--accent)}
@media (max-width:900px){.dm-home .spec .grid{grid-template-columns:1fr}}
@media (max-width:560px){.dm-home .sheet .k::after{display:none}}

/* AI */
.dm-home .ai .top-row{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,5vw,90px);align-items:end}
.dm-home .ai h2{margin-top:16px}
.dm-home .ai .lede{color:var(--muted)}
.dm-home .ai .lede strong{color:var(--fg);font-weight:500}
.dm-home .ai .stage{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(28px,5vw,90px);align-items:center;margin-top:clamp(56px,8vw,110px)}
.dm-home ul.points{display:grid;gap:28px}
.dm-home .points li{display:grid;grid-template-columns:44px 1fr;gap:4px 16px}
.dm-home .points li::before{content:"";width:40px;height:40px;background:var(--accent);grid-row:1/3}
.dm-home .points strong{font-family:var(--serif);font-weight:400;font-size:clamp(26px,2.3vw,36px);line-height:1.05;letter-spacing:-.01em}
.dm-home .points span{color:var(--muted);max-width:44ch}
.dm-home .chat{border-radius:24px;background:#171B33;border:1px solid rgba(255,255,255,.08);padding:clamp(18px,2.4vw,30px);display:grid;gap:14px;box-shadow:0 50px 90px -50px rgba(0,0,0,.8)}
.dm-home .chat .bar{display:flex;justify-content:space-between;align-items:center;gap:10px;font-family:var(--mono);font-size:12px;color:var(--muted);padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.dm-home .msg{max-width:84%;padding:14px 18px;border-radius:18px;line-height:1.45;font-size:clamp(15px,1.1vw,17px)}
.dm-home .msg strong{display:block;font-family:var(--mono);font-size:11px;font-weight:600;margin-bottom:4px}
.dm-home .msg.you{justify-self:end;background:#262B4A;border-bottom-right-radius:6px}
.dm-home .msg.you strong{opacity:.55}
.dm-home .msg.me{justify-self:start;background:var(--accent);color:#14132A;border-bottom-left-radius:6px}
.dm-home .msg.me strong{opacity:.7}
.dm-home .typing{justify-self:start;display:none;padding:10px 18px;border-radius:18px;background:rgba(175,162,255,.18);color:var(--accent);font-size:22px;line-height:1;letter-spacing:3px}
.dm-home .typing::before{content:"•••";animation:dm-typing 1s infinite}
@keyframes dm-typing{0%,100%{opacity:.4}50%{opacity:1}}
@media (max-width:900px){.dm-home .ai .top-row,.dm-home .ai .stage{grid-template-columns:1fr}.dm-home .msg{max-width:92%}}

/* WHAT I BRING */
.dm-home .pillars .grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,5vw,90px);align-items:start}
.dm-home .pillars .side{position:sticky;top:120px}
.dm-home figure.portrait{margin-top:36px;border-radius:999px 999px 20px 20px;overflow:hidden;aspect-ratio:3/4;max-width:340px}
.dm-home .portrait img{width:100%;height:116%;object-fit:cover;object-position:60% 30%}
.dm-home .pillar{padding:clamp(28px,4vw,48px) 0;border-top:1px solid color-mix(in oklab,var(--fg) 16%,transparent);display:grid;grid-template-columns:1fr auto;gap:10px 30px}
.dm-home .pillar:first-child{border-top:2px solid var(--fg)}
.dm-home .pillar h3{font-family:var(--serif);font-weight:400;font-size:clamp(30px,3vw,50px);line-height:1;letter-spacing:-.02em}
.dm-home .pillar .proof{font-family:var(--mono);font-size:13px;color:var(--accent);align-self:center;text-align:right}
.dm-home .pillar .text{grid-column:1/-1;color:var(--muted);max-width:60ch;margin-top:10px}
.dm-home .pillar .text strong{color:var(--fg);font-weight:500}
.dm-home .pillar.new h3::after{content:"new in v4.0";font-family:var(--mono);font-size:11px;letter-spacing:0;vertical-align:middle;margin-left:12px;padding:4px 9px;border-radius:99px;background:var(--accent);color:#fff}
@media (max-width:900px){.dm-home .pillars .grid{grid-template-columns:1fr}.dm-home .pillars .side{position:static}.dm-home figure.portrait{max-width:260px}}

/* CLOCKS */
.dm-home .clocks h2{max-width:14ch;margin-top:16px}
.dm-home .dials{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,3vw,40px);margin-top:clamp(40px,6vw,80px)}
.dm-home .dial{display:grid;justify-items:start;gap:14px}
.dm-home .dial-face{width:100%;max-width:170px}
.dm-home .dial-face svg{width:100%;height:auto;display:block}
.dm-home .dial .face{fill:color-mix(in oklab,var(--fg) 8%,transparent);stroke:var(--fg);stroke-width:2}
.dm-home .dial .tick{stroke:var(--fg);stroke-width:2;stroke-linecap:round}
.dm-home .dial .hh,.dm-home .dial .mh{stroke:var(--fg);stroke-linecap:round}
.dm-home .dial .sh{stroke:var(--accent);stroke-width:1.5;stroke-linecap:round}
.dm-home .dial .hub{fill:var(--fg)}
.dm-home .region{font-family:var(--serif);font-size:clamp(22px,2vw,30px);line-height:1}
.dm-home .time{font-family:var(--mono);font-size:13px;color:var(--muted);min-height:1.4em}
.dm-home .clocks .dials + .wp-block-group{margin-top:clamp(50px,7vw,90px);display:grid;grid-template-columns:auto 1fr;gap:20px 40px;align-items:center;border-top:2px solid var(--fg);padding-top:28px}
.dm-home .zero{font-family:var(--serif);font-size:clamp(90px,11vw,180px);line-height:.8;color:var(--accent)}
.dm-home .zero + p{font-family:var(--serif);font-size:clamp(24px,2.4vw,38px);line-height:1.1;max-width:24ch}
@media (max-width:760px){.dm-home .dials{grid-template-columns:1fr 1fr}.dm-home .clocks .dials + .wp-block-group{grid-template-columns:1fr}}

/* HOW I CAN HELP */
.dm-home .help .intro{display:flex;justify-content:space-between;align-items:end;gap:30px;flex-wrap:wrap}
.dm-home .help .intro .lede{max-width:22ch;color:var(--muted)}
.dm-home ul.rows{margin-top:clamp(36px,5vw,64px);border-top:2px solid var(--fg)}
.dm-home .rows li{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(18px,2.2vw,28px) 0;border-bottom:1px solid color-mix(in oklab,var(--fg) 18%,transparent);overflow:hidden;transition:color .4s var(--ease)}
.dm-home .rows li::after{content:"";position:absolute;inset:0;z-index:0;background:var(--fg);transform:scaleY(0);transform-origin:bottom;transition:transform .6s var(--ease)}
.dm-home .rows .t{position:relative;z-index:1;font-family:var(--serif);font-size:clamp(26px,3.4vw,56px);line-height:1.02;letter-spacing:-.02em;transition:transform .6s var(--ease)}
.dm-home .rows li::before{content:"";order:2;position:relative;z-index:1;flex:none;width:clamp(28px,3vw,44px);height:clamp(28px,3vw,44px);transition:transform .6s var(--ease)}
.dm-home .rows li.new .t::after{content:"new";font-family:var(--mono);font-size:12px;letter-spacing:0;vertical-align:super;margin-left:10px;color:var(--accent)}
@media (hover:hover){
  .dm-home .rows li:hover{color:var(--bg)}
  .dm-home .rows li:hover::after{transform:scaleY(1)}
  .dm-home .rows li:hover .t{transform:translateX(22px)}
  .dm-home .rows li:hover::before{transform:translateX(-22px) rotate(-45deg)}
}

/* BEYOND THE CODE */
.dm-home .beyond .grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,90px);align-items:center}
.dm-home .collage{position:relative;height:clamp(460px,52vw,680px)}
.dm-home figure.snap{position:absolute;margin:0;background:#FBF6F2;padding:10px 10px 42px;border-radius:3px;box-shadow:0 30px 60px -28px rgba(0,0,0,.75)}
.dm-home .snap img{width:100%;aspect-ratio:1;object-fit:cover}
.dm-home .snap figcaption{position:absolute;left:14px;bottom:10px;font-family:var(--serif);font-size:18px;color:#2A1719}
.dm-home figure.snap.a{width:52%;left:0;top:6%;rotate:-6deg}
.dm-home figure.snap.a img{object-position:50% 30%}
.dm-home figure.snap.b{width:46%;right:2%;top:0;rotate:5deg}
.dm-home figure.snap.b img{filter:grayscale(1) contrast(1.15)}
.dm-home figure.snap.c{width:50%;left:24%;bottom:0;rotate:-1deg}
.dm-home figure.snap.c img{object-position:50% 40%}
.dm-home .beyond h2{margin-top:16px}
.dm-home .beyond .text{max-width:46ch;margin-top:1em;color:var(--muted)}
.dm-home .beyond .text strong{color:var(--fg);font-weight:500}
.dm-home .tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.dm-home .tag{display:inline-flex;align-items:center;gap:10px;padding:10px 16px 10px 12px;border-radius:99px;border:1.5px solid color-mix(in oklab,var(--fg) 35%,transparent);font-weight:500;line-height:1.2;transition:transform .5s var(--ease),border-color .3s}
.dm-home .tag::before{content:"";width:22px;height:22px;background:var(--accent)}
.dm-home .tag:hover{transform:rotate(-3deg) translateY(-2px);border-color:var(--accent)}
.dm-home .long{position:relative;margin-top:clamp(40px,5vw,60px);display:flex;align-items:center;gap:20px;padding:18px 22px;border-radius:18px;background:color-mix(in oklab,var(--fg) 8%,transparent);transition:background-color .3s}
.dm-home .long:hover{background:color-mix(in oklab,var(--fg) 14%,transparent)}
.dm-home .long .mini{display:flex;flex:none}
.dm-home .long .mini img{width:44px;height:56px;object-fit:cover;border-radius:6px;border:2px solid var(--bg);margin-left:-14px}
.dm-home .long .mini figure:first-child img{margin-left:0;transform:rotate(-6deg)}
.dm-home .long .mini figure:last-child img{transform:rotate(6deg)}
.dm-home .long a{text-decoration:none}
.dm-home .long a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.dm-home .long strong{font-family:var(--serif);font-weight:400;font-size:22px;display:block;line-height:1.1}
.dm-home .long a span{font-size:14px;color:var(--muted)}
@media (max-width:900px){.dm-home .beyond .grid{grid-template-columns:1fr}.dm-home .collage{order:-1}}

/* CTA */
.dm-home .cta{min-height:90svh;display:grid;align-items:center;text-align:center}
.dm-home .cta .pull{max-width:24ch;margin:0 auto;color:var(--muted);font-size:clamp(24px,2.6vw,40px)}
.dm-home .big{font-family:var(--serif);font-size:clamp(56px,9vw,168px);line-height:.9;letter-spacing:-.04em;margin:28px auto 0;max-width:12ch}
.dm-home .big em{font-style:normal;color:var(--accent)}
.dm-home .cta .actions{justify-content:center;margin-top:48px}
.dm-home .cta .solid .wp-block-button__link{font-size:18px;padding:20px 34px;color:#14132A}
.dm-home .foot{padding-top:26px;padding-bottom:30px;border-top:1px solid color-mix(in oklab,var(--fg) 15%,transparent);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--muted)}
.dm-home .foot a{text-decoration:none}.dm-home .foot a:hover{color:var(--accent)}

@media (prefers-reduced-motion:reduce){.dm-home .typing::before{animation:none}}
