@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root{
  --bg:#f4f7f2;
  --paper:#fbfcfa;
  --ink:#07110c;
  --muted:#65746c;
  --line:rgba(7,17,12,.12);
  --green:#28d36f;
  --green2:#0b8d47;
  --deep:#06130c;
  --deep2:#0b1e13;
  --white:#f5fbf7;
  --shadow:0 30px 100px rgba(6,19,12,.10)
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'DM Sans',system-ui,sans-serif;
  overflow-x:hidden
}

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

button,input,select,textarea{
  font:inherit
}

::selection{
  background:var(--green);
  color:var(--ink)
}

.skip-link{
  position:fixed;
  left:18px;
  top:18px;
  z-index:9999;
  padding:11px 16px;
  background:var(--ink);
  color:#fff;
  border-radius:999px;
  transform:translateY(-150%);
  transition:.2s
}

.skip-link:focus{
  transform:none
}

:focus-visible{
  outline:3px solid var(--green);
  outline-offset:4px
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav{
  position:fixed;
  z-index:1000;
  top:16px;
  left:50%;
  transform:translateX(-50%);
  width:min(1180px,calc(100% - 28px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 11px 10px 16px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(250,252,249,.76);
  backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 12px 45px rgba(7,17,12,.08);
  border-radius:999px
}

.logo{
  display:flex;
  align-items:center;
  gap:10px
}

.logo-mark{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ink);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)
}

.logo-mark svg{
  width:20px;
  height:20px
}

.logo-word{
  font:600 23px/1 'Playfair Display',serif;
  letter-spacing:-.05em
}

.logo-word em{
  color:var(--green2);
  font-style:italic
}

.links{
  display:flex;
  gap:6px
}

.links a{
  padding:10px 12px;
  border-radius:999px;
  color:#5b6962;
  font-size:12px;
  font-weight:600;
  transition:.25s
}

.links a:hover,
.links a.active{
  background:#e8efe9;
  color:var(--ink)
}

.navbtn{
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--ink);
  color:#fff;
  padding:12px 17px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  box-shadow:0 8px 22px rgba(7,17,12,.18);
  transition:.25s
}

.navbtn:hover{
  transform:translateY(-2px);
  background:#0b2315
}

.menu{
  display:none;
  border:0;
  background:var(--ink);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:50%
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  align-items:center;
  padding:150px 7vw 100px;
  overflow:hidden;
  background:
    radial-gradient(
      circle at 70% 35%,
      rgba(40,211,111,.10),
      transparent 30%
    ),
    var(--bg)
}

.hero:before{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(
      rgba(7,17,12,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(7,17,12,.045) 1px,
      transparent 1px
    );
  background-size:70px 70px;
  mask-image:linear-gradient(to bottom,black,transparent 90%);
  pointer-events:none
}

.hero-inner{
  position:relative;
  z-index:4;
  max-width:720px
}

.eyebrow,
.kicker{
  font:500 10px/1 'DM Mono',monospace;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--green2)
}

.eyebrow{
  display:flex;
  align-items:center;
  gap:9px
}

.eyebrow i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 6px rgba(40,211,111,.12);
  animation:pulse 2s infinite
}

.hero h1{
  font-size:clamp(72px,10vw,148px);
  line-height:.82;
  letter-spacing:-.08em;
  margin:28px 0
}

.serif{
  font-family:'Playfair Display',Georgia,serif;
  font-style:italic;
  font-weight:500;
  letter-spacing:-.06em
}

.green{
  color:var(--green2)
}

.lead{
  font-size:clamp(17px,1.8vw,21px);
  line-height:1.55;
  color:#5d6c63;
  max-width:650px
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:30px
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 19px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid var(--line);
  transition:.3s;
  cursor:pointer
}

.btn.primary{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
  box-shadow:0 15px 35px rgba(7,17,12,.16)
}

.btn.primary:hover{
  transform:translateY(-3px) rotate(-.5deg);
  box-shadow:0 22px 45px rgba(7,17,12,.22)
}

.btn.secondary{
  background:rgba(255,255,255,.55)
}

.btn.secondary:hover{
  transform:translateY(-3px);
  background:#fff
}

.btn.inverse{
  background:#fff;
  color:var(--ink);
  border-color:#fff
}


/* =========================================================
   HERO STAGE
   ========================================================= */

.hero-stage{
  position:absolute;
  right:2vw;
  top:50%;
  transform:translateY(-48%);
  width:min(48vw,680px);
  height:min(48vw,680px);
  z-index:2;
  perspective:1000px
}

.stage-shell{
  position:absolute;
  inset:9%;
  border-radius:42%;
  background:
    radial-gradient(
      circle at 36% 28%,
      #c8f4d6 0 9%,
      #67dd99 16%,
      #178f51 43%,
      #07130c 72%
    );
  filter:saturate(120%);
  box-shadow:
    inset -50px -70px 100px rgba(0,0,0,.35),
    inset 35px 20px 60px rgba(255,255,255,.22),
    0 60px 120px rgba(7,17,12,.20);
  transform:rotateX(13deg) rotateY(-18deg);
  transition:transform .12s ease-out
}

.stage-shell:before,
.stage-shell:after{
  content:'';
  position:absolute;
  inset:8%;
  border:1px solid rgba(255,255,255,.22);
  border-radius:48%;
  transform:rotate(34deg)
}

.stage-shell:after{
  inset:-3%;
  transform:rotate(-24deg);
  border-color:rgba(40,211,111,.25)
}

.stage-grid{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  pointer-events:none
}

.stage-orbit{
  position:absolute;
  inset:10%;
  border:1px solid rgba(7,17,12,.13);
  border-radius:50%;
  transform:rotateX(68deg) rotateZ(18deg)
}

.stage-orbit.two{
  inset:4%;
  transform:rotateX(70deg) rotateZ(-36deg);
  border-color:rgba(40,211,111,.24)
}

.stage-orbit.three{
  inset:20%;
  transform:rotateY(72deg) rotateZ(22deg);
  border-color:rgba(255,255,255,.35)
}

.stage-dot{
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#fff;
  box-shadow:
    0 0 0 8px rgba(255,255,255,.12),
    0 0 28px rgba(255,255,255,.65);
  top:12%;
  left:70%
}

.stage-card{
  position:absolute;
  right:0;
  bottom:12%;
  width:210px;
  padding:14px;
  border-radius:18px;
  background:rgba(251,252,250,.88);
  backdrop-filter:blur(16px);
  box-shadow:0 25px 70px rgba(7,17,12,.18);
  transform:translateZ(80px) rotate(-4deg)
}

.stage-card small{
  font:500 9px 'DM Mono',monospace;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em
}

.stage-card strong{
  display:block;
  font:600 25px/1 'Playfair Display',serif;
  margin-top:9px
}

.stage-card span{
  display:block;
  font-size:10px;
  color:#718078;
  margin-top:6px
}

.hero-note{
  position:absolute;
  left:7vw;
  bottom:42px;
  z-index:5;
  font:500 9px 'DM Mono',monospace;
  color:#77847d;
  letter-spacing:.12em;
  text-transform:uppercase
}


/* =========================================================
   MARQUEE
   ========================================================= */

.marquee{
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#eaf2ec
}

.track{
  display:flex;
  width:max-content;
  gap:28px;
  padding:17px 0;
  animation:marquee 25s linear infinite
}

.track span{
  font:500 10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.14em
}

.track b{
  color:var(--green2)
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section{
  padding:120px 0
}

.wrap{
  width:min(1200px,86vw);
  margin:0 auto
}

.head{
  display:flex;
  justify-content:space-between;
  gap:50px;
  align-items:end;
  margin-bottom:50px
}

.head h2{
  font-size:clamp(54px,7vw,92px);
  line-height:.86;
  letter-spacing:-.075em;
  margin:13px 0 0
}

.note{
  max-width:380px;
  color:var(--muted);
  line-height:1.7;
  font-size:13px
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}

.card{
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(255,255,255,.58);
  box-shadow:0 15px 60px rgba(7,17,12,.04)
}

.service-card{
  position:relative;
  min-height:330px;
  padding:30px;
  overflow:hidden;
  transition:.4s
}

.service-card:after{
  content:'';
  position:absolute;
  width:170px;
  height:170px;
  right:-90px;
  bottom:-90px;
  border-radius:50%;
  background:rgba(40,211,111,.15);
  transition:.4s
}

.service-card:hover{
  transform:translateY(-8px) rotateX(1deg);
  box-shadow:var(--shadow);
  background:#fff
}

.service-card:hover:after{
  transform:scale(1.6)
}

.number{
  font:500 10px 'DM Mono',monospace;
  color:var(--green2)
}

.service-card h3{
  font:600 33px/.96 'Playfair Display',serif;
  letter-spacing:-.045em;
  margin:80px 0 14px
}

.service-card p{
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  max-width:280px
}

.arrow{
  position:absolute;
  right:26px;
  top:28px;
  font-size:18px
}


/* =========================================================
   DARK SECTION
   ========================================================= */

.dark{
  background:var(--deep);
  color:var(--white);
  position:relative;
  overflow:hidden
}

.dark:before{
  content:'';
  position:absolute;
  width:60vw;
  height:60vw;
  right:-30vw;
  top:-30vw;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(40,211,111,.20),
    transparent 62%
  );
  filter:blur(10px)
}

.dark .kicker{
  color:#71eaa0
}

.dark .note,
.dark-copy{
  color:#9caca3
}

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

.pill{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.035);
  padding:12px 15px;
  border-radius:999px;
  color:#b8c7be;
  font:500 10px 'DM Mono',monospace
}


/* =========================================================
   PROJECTS
   ========================================================= */

.project-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px
}

.project-card{
  position:relative;
  min-height:520px;
  border-radius:34px;
  overflow:hidden;
  background:var(--ink);
  color:#fff;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
  transition:.5s
}

.project-card.light{
  background:#dfece3;
  color:var(--ink)
}

.project-card:hover{
  transform:translateY(-8px)
}

.project-card.large{
  grid-row:span 2
}

.project-art{
  position:absolute;
  inset:0;
  padding:28px
}

.project-card:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.72),
    transparent 58%
  );
  pointer-events:none
}

.project-card.light:after{
  background:linear-gradient(
    to top,
    rgba(7,17,12,.55),
    transparent 60%
  )
}

/*
  FIX:
  Project text is now laid out as a controlled block
  rather than allowing title/description spacing to
  collapse into each other.
*/

.project-content{
  position:absolute;
  left:28px;
  right:28px;
  bottom:26px;
  z-index:2;
  max-width:650px;
  display:flex;
  flex-direction:column;
  align-items:flex-start
}

.project-content .kicker{
  color:#8df2b0;
  display:block;
  line-height:1.3;
  margin:0 0 9px
}

.project-content h3{
  font-size:clamp(38px,5vw,68px);
  line-height:.94;
  letter-spacing:-.07em;
  margin:0;
  max-width:100%
}

.project-content h3 .serif{
  line-height:inherit
}

.project-content p{
  max-width:450px;
  color:#c7d4cd;
  font-size:12px;
  line-height:1.6;
  margin:12px 0 0
}

.project-card.light .project-content p{
  color:#dce8e0
}


/* =========================================================
   PROJECT BROWSER MOCKUPS
   ========================================================= */

.browser{
  position:absolute;
  left:10%;
  right:10%;
  top:10%;
  bottom:17%;
  border-radius:22px;
  background:#0d2116;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 35px 80px rgba(0,0,0,.25);
  transform:rotate(-3deg);
  transition:.5s
}

.project-card:hover .browser{
  transform:rotate(-1deg) translateY(-10px) scale(1.02)
}

.browser-top{
  height:32px;
  border-bottom:1px solid rgba(255,255,255,.1);
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 12px
}

.browser-top i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#56705f
}

.browser-top span{
  font:8px 'DM Mono',monospace;
  color:#6d8174;
  margin-left:auto
}

.site-mock{
  padding:22px
}

.site-mock .hero-line{
  width:65%;
  height:10px;
  border-radius:10px;
  background:#9af0b6;
  margin:8px 0
}

.site-mock .hero-line.two{
  width:40%;
  background:#5bcf88
}

.mock-grid{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:10px;
  margin-top:30px
}

.mock-block{
  height:180px;
  border-radius:16px;
  background:linear-gradient(
    145deg,
    #193b27,
    #0a1710
  )
}

.mock-block.small{
  height:85px;
  background:linear-gradient(
    145deg,
    #ccebd5,
    #7acb98
  )
}

.mock-block.small.second{
  margin-top:10px
}

.store-mock{
  background:#f7faf7;
  color:#17231b;
  padding:22px
}

.store-mock .store-head{
  display:flex;
  justify-content:space-between;
  font:600 11px 'Playfair Display',serif
}

.store-hero{
  height:210px;
  border-radius:18px;
  margin-top:18px;
  background:linear-gradient(
    145deg,
    #e2efe5,
    #8fb79a
  );
  display:flex;
  align-items:end;
  padding:20px;
  font:600 34px/.9 'Playfair Display',serif
}

.product-row{
  display:flex;
  gap:8px;
  margin-top:10px
}

.product-row span{
  height:58px;
  flex:1;
  border-radius:10px;
  background:#e8f0e9
}

.flow-mock{
  background:#f5f8f5;
  color:#152019;
  padding:18px
}

.flow-top{
  display:flex;
  justify-content:space-between;
  font:600 12px 'DM Sans',sans-serif
}

.board{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
  margin-top:15px
}

.board-col{
  background:#e8efe9;
  border-radius:10px;
  padding:8px;
  min-height:210px
}

.board-card{
  background:#fff;
  border-radius:9px;
  padding:10px;
  margin-top:7px;
  font-size:9px;
  box-shadow:0 5px 15px rgba(7,17,12,.06)
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  max-width:1000px
}

.quote-card{
  border-radius:30px;
  background:var(--ink);
  color:#fff;
  padding:35px;
  min-height:280px;
  position:relative;
  overflow:hidden
}

.quote-card:after{
  content:'';
  position:absolute;
  width:220px;
  height:220px;
  right:-80px;
  bottom:-100px;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(40,211,111,.45),
    transparent 68%
  )
}

.quote-card blockquote{
  font:500 clamp(31px,4vw,48px)/.98 'Playfair Display',serif;
  letter-spacing:-.045em;
  margin:40px 0 30px;
  max-width:720px;
  position:relative;
  z-index:1
}

.quote-meta{
  display:flex;
  align-items:center;
  gap:11px;
  position:relative;
  z-index:1
}

.avatar{
  width:45px;
  height:45px;
  border-radius:50%;
  overflow:hidden;
  filter:blur(3px);
  background:#183022
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover
}

.quote-meta strong{
  display:block;
  font-size:11px
}

.quote-meta span{
  display:block;
  color:#8da097;
  font-size:9px;
  margin-top:3px
}

.sample{
  font:500 8px 'DM Mono',monospace;
  color:#708179;
  letter-spacing:.08em;
  text-transform:uppercase;
  position:absolute;
  right:26px;
  bottom:26px;
  z-index:1
}

.quote-side{
  display:grid;
  gap:14px
}

.quote-mini{
  border:1px solid var(--line);
  background:#fff;
  border-radius:28px;
  padding:25px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:133px;
  transition:.35s
}

.quote-mini:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow)
}

.quote-mini blockquote{
  font:500 24px/.98 'Playfair Display',serif;
  letter-spacing:-.035em;
  margin:15px 0
}


/* =========================================================
   STORY
   ========================================================= */

.story{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:90px
}

.story>div:last-child{
  max-width:700px
}

.story p{
  font-size:18px;
  line-height:1.6;
  color:#4e5f56
}

.principles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:35px
}

.principle{
  border-top:1px solid var(--line);
  padding-top:14px;
  display:grid;
  gap:8px
}

.principle b{
  font-size:12px
}

.principle span{
  font-size:11px;
  line-height:1.55;
  color:var(--muted)
}

.dark-principle{
  border-color:rgba(255,255,255,.14)
}

.dark-principle span{
  color:#93a39a
}

.center{
  text-align:center
}

.cta-heading{
  font-size:clamp(60px,8vw,115px);
  line-height:.83;
  letter-spacing:-.08em;
  margin:15px 0 28px
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  background:#041008;
  color:#e9f5ee;
  padding:82px 7vw 25px;
  border-top:1px solid rgba(255,255,255,.07)
}

.footer-top{
  max-width:1200px;
  margin:0 auto 60px;
  display:grid;
  grid-template-columns:1.5fr .65fr .65fr .65fr;
  gap:55px
}

.footer-brand{
  font:600 42px/1 'Playfair Display',serif;
  letter-spacing:-.06em;
  color:#fff
}

.footer-brand span{
  color:#68e99a;
  font-style:italic
}

.footer-brand-block p{
  color:#a6b7ad;
  max-width:390px;
  font-size:13px;
  line-height:1.7;
  margin:18px 0 20px
}

.footer-email{
  display:inline-flex;
  color:#f3faf6;
  font-size:12px;
  border-bottom:1px solid rgba(255,255,255,.28);
  padding-bottom:5px
}

.footer-col{
  display:grid;
  align-content:start;
  gap:12px
}

.footer-col>span{
  font:500 9px 'DM Mono',monospace;
  color:#70e89a;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:6px
}

.footer-col a{
  font-size:12px;
  color:#c8d5cd;
  transition:.2s
}

.footer-col a:hover{
  color:#fff;
  transform:translateX(3px)
}

.footer-bottom{
  max-width:1200px;
  margin:auto;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:15px;
  color:#91a39a;
  font:500 9px 'DM Mono',monospace;
  letter-spacing:.04em
}

.footer-bottom span:nth-child(2){
  text-align:center
}

.footer-bottom span:last-child{
  text-align:right
}


/* =========================================================
   INNER PAGES
   ========================================================= */

.page-hero{
  min-height:72svh;
  padding:180px 7vw 100px;
  display:flex;
  align-items:end;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(40,211,111,.10),
      transparent 28%
    ),
    var(--bg);
  position:relative;
  overflow:hidden
}

.page-hero h1{
  font-size:clamp(68px,9vw,130px);
  line-height:.83;
  letter-spacing:-.08em;
  margin:25px 0
}

.page-hero .lead{
  max-width:680px
}

.service-list{
  border-top:1px solid var(--line)
}

.service-row{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:30px;
  padding:45px 0;
  border-bottom:1px solid var(--line)
}

.service-row h3{
  font:600 clamp(34px,4vw,56px)/.92 'Playfair Display',serif;
  letter-spacing:-.05em;
  margin:0 0 14px
}

.service-row p{
  max-width:720px;
  color:var(--muted);
  line-height:1.7
}

.service-row ul{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  padding:0;
  margin:22px 0 0
}

.service-row li{
  font:500 9px 'DM Mono',monospace;
  padding:9px 11px;
  border-radius:999px;
  background:#e8efe9;
  color:#53645a
}

.work-grid{
  display:grid;
  gap:18px
}

.case{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:45px;
  padding:55px 0;
  border-top:1px solid var(--line)
}

.case:nth-child(even){
  grid-template-columns:1.25fr .75fr
}

.case:nth-child(even) .case-copy{
  order:2
}

.case h2{
  font-size:clamp(48px,6vw,80px);
  line-height:.85;
  letter-spacing:-.07em;
  margin:15px 0
}

.case p{
  color:var(--muted);
  line-height:1.7;
  font-size:13px;
  max-width:560px
}

.case-tags{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:20px 0
}

.case-tags span{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font:500 8px 'DM Mono',monospace
}

.case-art{
  min-height:420px;
  border-radius:32px;
  overflow:hidden;
  position:relative;
  background:var(--ink);
  box-shadow:var(--shadow)
}

.case-art .browser{
  left:7%;
  right:7%;
  top:9%;
  bottom:9%
}

.case-light{
  background:#dce9df
}

.case-olive{
  background:#183425
}

.legal-copy{
  max-width:820px
}

.legal-copy h2{
  font:600 36px/1 'Playfair Display',serif;
  margin:55px 0 15px
}

.legal-copy p,
.legal-copy li{
  color:var(--muted);
  line-height:1.8
}

.legal-copy ul{
  padding-left:20px
}


/* =========================================================
   REVEALS / CURSOR / ANIMATION
   ========================================================= */

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.7,.2,1)
}

.reveal.visible{
  opacity:1;
  transform:none
}

.cursor-dot{
  position:fixed;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--green);
  mix-blend-mode:multiply;
  pointer-events:none;
  z-index:2000;
  transform:translate(-50%,-50%);
  transition:width .2s,height .2s;
  display:none
}

.hovering .cursor-dot{
  width:28px;
  height:28px
}

@keyframes marquee{
  to{
    transform:translateX(-50%)
  }
}

@keyframes pulse{
  50%{
    transform:scale(1.35);
    box-shadow:0 0 0 9px rgba(40,211,111,.06)
  }
}


/* =========================================================
   BOOKING FORM
   ========================================================= */

.form-shell{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:70px
}

.form-intro h1{
  font-size:clamp(55px,7vw,90px);
  line-height:.86;
  letter-spacing:-.075em;
  margin:20px 0
}

.form-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:32px;
  padding:32px;
  box-shadow:var(--shadow)
}

.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}

.field{
  display:grid;
  gap:7px;
  margin-bottom:15px
}

.field label{
  font:500 9px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#637169
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid rgba(7,17,12,.15);
  background:#f8faf8;
  border-radius:13px;
  padding:13px 14px;
  color:var(--ink);
  outline:none
}

.field textarea{
  min-height:130px;
  resize:vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--green2);
  box-shadow:0 0 0 4px rgba(40,211,111,.12)
}

.slots{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px
}

.slot{
  padding:11px;
  border:1px solid var(--line);
  background:#f8faf8;
  border-radius:11px;
  cursor:pointer;
  font-size:11px
}

.slot.active{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink)
}

.consent{
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:10px;
  color:var(--muted);
  line-height:1.5;
  margin:12px 0
}

.consent input{
  margin-top:2px;
  accent-color:var(--green2)
}

.form-status{
  margin-top:15px;
  font-size:11px
}

.honeypot{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important
}

.error{
  color:#b33a2d
}

.success{
  color:#0a7c40
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media(max-width:1000px){

  .hero-stage{
    opacity:.65;
    right:-12vw
  }

  .service-grid{
    grid-template-columns:1fr
  }

  .project-grid{
    grid-template-columns:1fr
  }

  .project-card.large{
    grid-row:auto
  }

  .testimonial-wrap,
  .story,
  .form-shell{
    grid-template-columns:1fr
  }

  .footer-top{
    grid-template-columns:1.5fr .75fr .75fr
  }

  .footer-bottom{
    grid-template-columns:1fr 1fr
  }

  .footer-bottom span:last-child{
    text-align:left
  }

  .footer-bottom span:nth-child(2){
    text-align:right
  }

  .case,
  .case:nth-child(even){
    grid-template-columns:1fr
  }

  .case:nth-child(even) .case-copy{
    order:0
  }

  .form-intro{
    max-width:700px
  }

  /* Project text gets more room when cards become full-width */
  .project-content{
    max-width:720px
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media(max-width:700px){

  .nav{
    top:10px
  }

  .links,
  .navbtn{
    display:none
  }

  .menu{
    display:block
  }

  .nav.menu-open .links{
    display:grid;
    position:absolute;
    top:62px;
    left:0;
    right:0;
    padding:10px;
    background:rgba(250,252,249,.96);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow)
  }

  .nav.menu-open .navbtn{
    display:flex;
    position:absolute;
    top:350px;
    left:10px;
    right:10px;
    justify-content:center
  }

  .hero{
    padding:140px 7vw 90px;
    min-height:850px
  }

  .hero h1{
    font-size:clamp(66px,18vw,105px)
  }

  .hero-stage{
    width:100vw;
    height:100vw;
    right:-28vw;
    top:63%;
    opacity:.55
  }

  .hero-note{
    display:none
  }

  .head{
    display:block
  }

  .note{
    margin-top:22px
  }

  .service-card{
    min-height:280px
  }

  .project-card{
    min-height:460px
  }

  .project-art{
    padding:14px
  }

  /*
    Mobile project-card fix:
    give the text a wider, controlled area and
    reduce the heading slightly so the description
    never crashes into it.
  */

  .project-content{
    left:20px;
    right:20px;
    bottom:20px;
    max-width:none;
    padding:0
  }

  .project-content .kicker{
    margin-bottom:8px;
    font-size:9px;
    line-height:1.35
  }

  .project-content h3{
    font-size:clamp(34px,11vw,48px);
    line-height:.96;
    letter-spacing:-.06em;
    margin:0;
    max-width:100%
  }

  .project-content p{
    max-width:100%;
    margin:11px 0 0;
    font-size:11px;
    line-height:1.55
  }

  .testimonial-wrap{
    gap:10px
  }

  .quote-card{
    padding:25px;
    min-height:300px
  }

  .quote-card blockquote{
    font-size:34px
  }

  .principles{
    grid-template-columns:1fr
  }

  .footer{
    padding:65px 7vw 24px
  }

  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:35px
  }

  .footer-brand-block{
    grid-column:1/-1
  }

  .footer-bottom{
    display:flex;
    flex-direction:column;
    gap:9px
  }

  .footer-bottom span:nth-child(2),
  .footer-bottom span:last-child{
    text-align:left
  }

  .page-hero{
    min-height:65svh;
    padding-top:145px
  }

  .service-row{
    grid-template-columns:45px 1fr
  }

  .case-art{
    min-height:350px
  }

  .field-grid{
    grid-template-columns:1fr
  }

  .slots{
    grid-template-columns:1fr 1fr
  }

}


/* =========================================================
   RESPONSIVE — VERY SMALL PHONES
   ========================================================= */

@media(max-width:390px){

  .project-card{
    min-height:470px
  }

  .project-content{
    left:17px;
    right:17px;
    bottom:18px
  }

  .project-content h3{
    font-size:34px;
    line-height:.98
  }

  .project-content p{
    font-size:10.5px;
    line-height:1.55;
    margin-top:9px
  }

  .crm-stats{
    grid-template-columns:1fr 1fr
  }

  .detail-grid{
    grid-template-columns:1fr
  }

  .login-card h1{
    font-size:45px
  }

}


/* =========================================================
   SPECIAL / EXISTING OVERRIDES
   ========================================================= */

.store-browser{
  background:#f7faf7
}

.flow-browser{
  background:#f5f8f5
}

.light-top{
  border-color:rgba(7,17,12,.1)!important
}

.muted-url{
  color:#708077!important
}

.page-hero-short{
  min-height:58svh
}

.legal-copy + *{}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto
  }

  .track{
    animation:none
  }

  .reveal{
    opacity:1;
    transform:none
  }

  .stage-shell{
    transition:none
  }

  .service-card,
  .project-card,
  .quote-mini{
    transition:none
  }

}

/* =========================================================
   CLOVRFLOW — BOOK A CALL POLISH
   ========================================================= */

.page-hero-short {
  min-height: 56svh;
  padding-bottom: 80px;
}

.page-hero-short .hero-inner {
  max-width: 760px;
}

.page-hero-short h1 {
  max-width: 760px;
}


/* =========================================================
   BOOKING LAYOUT
   ========================================================= */

.form-shell {
  align-items: start;
  gap: clamp(45px, 7vw, 90px);
  padding-bottom: 30px;
}

.form-intro {
  position: sticky;
  top: 120px;
}

.form-intro .kicker {
  margin-bottom: 18px;
}

.form-intro h2 {
  margin: 0 0 24px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .88;
  letter-spacing: -.07em;
}

.form-intro .note {
  margin: 0;
  max-width: 390px;
}


/* =========================================================
   WHAT HAPPENS NEXT
   ========================================================= */

.booking-expectation {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.booking-expectation-label {
  margin-bottom: 18px;
  color: var(--green2);
  font: 500 8px/1 'DM Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.booking-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.booking-step-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green2);
  font: 500 7px/1 'DM Mono', monospace;
}

.booking-step strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
}

.booking-step > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(248,251,248,.96)
    );

  box-shadow:
    0 30px 90px rgba(6,19,12,.09);
}

.form-card-label {
  margin-bottom: 24px;
  color: #78857e;
  font: 500 8px/1 'DM Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}


/* =========================================================
   FIELDS
   ========================================================= */

.field {
  margin-bottom: 17px;
}

.field label {
  color: #59675f;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f7faf7;

  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  transform: translateY(-1px);
}


/* =========================================================
   TIME SLOTS
   ========================================================= */

.slots {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot {
  min-height: 44px;
  padding: 10px 8px;

  border: 1px solid rgba(7,17,12,.11);
  border-radius: 10px;

  background: #f7faf7;
  color: var(--ink);

  font: 500 10px 'DM Mono', monospace;

  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.slot:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(7,17,12,.22);
}

.slot.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(7,17,12,.14);
}


/* =========================================================
   CONSENT
   ========================================================= */

.consent {
  margin: 18px 0;
  font-size: 9px;
}

.consent a {
  color: var(--green2);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.booking-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;

  gap: 10px;

  font-size: 11px;
  border-radius: 13px;
}

.booking-submit:hover {
  transform: translateY(-2px);
}


/* =========================================================
   STATUS
   ========================================================= */

.form-status {
  min-height: 18px;
  margin: 13px 2px 0;
  line-height: 1.5;
}


/* =========================================================
   FORM ANIMATION
   ========================================================= */

.form-card.reveal.visible {
  animation:
    bookingCardIn
    .7s
    cubic-bezier(.2,.7,.2,1)
    both;
}

@keyframes bookingCardIn {

  from {
    opacity: 0;
    transform:
      translateY(18px)
      scale(.99);
  }

  to {
    opacity: 1;
    transform:
      translateY(0)
      scale(1);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .form-intro {
    position: static;
  }

  .booking-expectation {
    margin-top: 28px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .page-hero-short {
    min-height: 58svh;
    padding-top: 145px;
    padding-bottom: 65px;
  }

  .page-hero-short h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

  .page-hero-short .lead {
    font-size: 15px;
    line-height: 1.55;
  }


  .form-shell {
    width: min(
      calc(100% - 34px),
      620px
    );

    gap: 38px;
  }


  .form-intro h2 {
    font-size: clamp(
      45px,
      13vw,
      65px
    );
  }


  .booking-expectation {
    margin-top: 25px;
  }


  .form-card {
    padding: 22px 18px;
    border-radius: 23px;
  }


  .form-card-label {
    margin-bottom: 20px;
  }


  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }


  .field input,
  .field select {
    min-height: 49px;
  }


  .slots {
    grid-template-columns: 1fr 1fr;
  }


  .slot {
    min-height: 46px;
  }


  .consent {
    font-size: 9px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

  .page-hero-short h1 {
    font-size: 55px;
  }


  .form-shell {
    width: calc(100% - 28px);
  }


  .form-card {
    padding: 20px 15px;
  }


  .slot {
    font-size: 9px;
  }


  .booking-step {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .form-card.reveal.visible {
    animation: none;
  }

}
