:root{
  /* ---- palette, drawn from the wennly mark ---- */
  --ink:#17111A;          /* darkest tone in the logo gradient */
  --ink-soft:#241A28;      /* card surfaces on dark sections */
  --ink-line:#3B2A3E;      /* hairlines on dark sections */
  --paper:#F3E9E4;         /* warm blush at the light end of the logo gradient */
  --paper-card:#FBF5F2;    /* card surfaces on light sections */
  --paper-line:#E3D2CB;    /* hairlines on light sections */
  --rose:#C97B82;          /* the glowing mid-tone in the logo gradient */
  --rose-dim:#9C525C;      /* deeper rose for hover/dim states */
  --muted:#A99AA0;         /* muted text on dark */
  --muted-dark:#6E5C63;    /* muted text on light */
}

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Public Sans', sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}

h1,h2,h3{
  font-family:'Bricolage Grotesque', sans-serif;
  letter-spacing:-0.01em;
}

.mono{
  font-family:'Spline Sans Mono', monospace;
  letter-spacing:0.02em;
}

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

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 32px;
}

section{padding:96px 0;}

/* ---------- NAV ---------- */
nav{
  position:sticky; top:0; z-index:50;
  background:rgba(23,17,26,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--ink-line);
}
nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
  color:var(--paper);
}
.brand{
  font-family:'Bricolage Grotesque', sans-serif;
  font-weight:600;
  font-size:1.1rem;
  color:#fff;
  display:flex; align-items:center; gap:10px;
}
.brand img{
  height:34px;
  width:auto;
  display:block;
}
nav ul{
  display:flex; gap:32px; list-style:none;
}
.nav-right{
  display:flex;
  align-items:center;
  gap:28px;
}
nav ul li a{
  font-size:0.9rem; color:var(--muted);
  transition:color 0.2s ease;
}
nav ul li a:hover{color:#fff;}
.nav-cta{
  font-family:'Spline Sans Mono', monospace;
  font-size:0.82rem;
  color:var(--ink);
  background:var(--rose);
  padding:9px 16px;
  border-radius:4px;
  transition:background 0.2s ease;
}
.nav-cta:hover{background:#d68f95;}

.lang-switch{
  display:flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid var(--ink-line);
  border-radius:20px;
}
.lang-btn{
  background:transparent;
  border:none;
  color:var(--muted);
  font-size:0.72rem;
  padding:5px 11px;
  border-radius:16px;
  cursor:pointer;
  transition:background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover{color:var(--paper);}
.lang-btn.active{
  background:var(--rose);
  color:var(--ink);
}
.lang-btn:focus-visible{
  outline:2px solid var(--rose);
  outline-offset:2px;
}

/* ---------- HERO ---------- */
.hero{
  background:var(--ink);
  color:var(--paper);
  padding:88px 0 132px;
  position:relative;
  overflow:hidden;
}
.hero .eyebrow{
  color:var(--rose);
  font-size:0.8rem;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.hero .eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--rose-dim);
  display:inline-block;
}
.hero h1{
  font-size:clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight:600;
  max-width:15ch;
  line-height:1.08;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  color:var(--rose);
}
.hero p{
  max-width:46ch;
  color:var(--muted);
  font-size:1.05rem;
  margin-bottom:34px;
}
.hero-actions{
  display:flex; gap:14px; flex-wrap:wrap;
  align-items:center;
}
.btn-primary{
  background:var(--rose);
  color:var(--ink);
  font-weight:600;
  font-size:0.95rem;
  padding:13px 24px;
  border-radius:4px;
  display:inline-block;
  transition:transform 0.15s ease, background 0.2s ease;
}
.btn-primary:hover{background:#d68f95; transform:translateY(-1px);}
.btn-ghost{
  border:1px solid var(--ink-line);
  color:var(--paper);
  font-size:0.95rem;
  padding:12px 22px;
  border-radius:4px;
  transition:border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover{border-color:var(--rose); background:rgba(201,123,130,0.08);}

.status-line{
  margin-top:52px;
  padding-top:22px;
  border-top:1px solid var(--ink-line);
  display:flex; gap:28px; flex-wrap:wrap;
  font-size:0.82rem;
  color:var(--muted);
}
.status-line span b{color:var(--paper); font-weight:600;}

/* Jagged divider echoing the diagonal "card" silhouette of the
   wennly mark, cutting into the base of the hero. */
.hero-divider{
  position:absolute;
  left:0; right:0; bottom:-1px;
  width:100%;
  height:72px;
  line-height:0;
  z-index:1;
}
.hero-divider svg{
  width:100%;
  height:100%;
  display:block;
}
.hero-divider svg.divider-mobile{
  display:none;
}
.divider-fill{
  fill:var(--paper);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:40px;
  align-items:center;
}
.hero-text{min-width:0;}

/* ---------- HERO DEVICE SHOWCASE ---------- */
.hero-showcase{
  position:relative;
  width:100%;
  max-width:280px;
  margin:0 auto;
}
.showcase-mobile-inner{
  background:var(--ink);
  border-radius:26px;
  padding:10px 10px 16px;
  border:1px solid var(--ink-line);
  box-shadow:0 30px 50px -22px rgba(0,0,0,0.6);
}
.showcase-mobile .device-notch{
  width:26%;
  height:5px;
  border-radius:3px;
  background:var(--ink-line);
  margin:0 auto 8px;
}
.showcase-mobile .device-frame{
  width:100%;
  aspect-ratio:9 / 17.5;
  border-radius:18px;
  overflow:hidden;
  background:var(--ink-soft);
  display:block;
}
.showcase-mobile img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
}

@media (max-width:960px){
  .hero-showcase{max-width:250px;}
}

@media (max-width:820px){
  .hero-grid{grid-template-columns:1fr; gap:0;}
  .hero-showcase{display:none;}
  .hero-divider svg.divider-desktop{display:none;}
  .hero-divider svg.divider-mobile{display:block;}
}

/* ---------- SECTION HEADERS ---------- */
.section-head{
  margin-bottom:52px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  flex-wrap:wrap;
}
.section-head .tag{
  font-size:0.78rem;
  color:var(--rose-dim);
  margin-bottom:12px;
  display:block;
}
.section-on-dark .section-head .tag{color:var(--rose);}
.section-head h2{
  font-size:clamp(1.6rem, 3vw, 2.1rem);
  font-weight:600;
}
.section-head p{
  color:var(--muted-dark);
  max-width:38ch;
  font-size:0.98rem;
}
.section-on-dark .section-head p{color:var(--muted);}

/* ---------- WORK ---------- */
.work{background:var(--paper); position:relative;}
.work-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:28px;
}
.work-card{
  display:block;
  color:inherit;
  text-decoration:none;
  background:var(--paper-card);
  border:1px solid var(--paper-line);
  border-radius:10px;
  overflow:hidden;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px -18px rgba(23,17,26,0.35);
}
.browser-chrome{
  background:#EEE2DB;
  padding:10px 14px;
  display:flex; align-items:center; gap:6px;
  border-bottom:1px solid var(--paper-line);
}
.browser-chrome .dot{width:9px; height:9px; border-radius:50%;}
.browser-chrome .dot:nth-child(1){background:#D98E88;}
.browser-chrome .dot:nth-child(2){background:#E8C58A;}
.browser-chrome .dot:nth-child(3){background:#9FBFA6;}
.browser-chrome .url{
  margin-left:10px;
  font-family:'Spline Sans Mono', monospace;
  font-size:0.72rem;
  color:var(--muted-dark);
}
.work-visual{
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.work-visual .glyph{
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:2.6rem;
  font-weight:600;
  color:rgba(255,255,255,0.9);
  letter-spacing:-0.02em;
}
.work-body{padding:22px 24px 26px;}
.work-body h3{
  font-size:1.15rem;
  margin-bottom:6px;
  display:flex; align-items:center; justify-content:space-between;
}
.work-body .arrow{color:var(--rose-dim); font-size:1.1rem;}
.work-body p{
  color:var(--muted-dark);
  font-size:0.92rem;
  margin-bottom:14px;
}
.stack-tags{
  display:flex; gap:8px; flex-wrap:wrap;
}
.stack-tags span{
  font-family:'Spline Sans Mono', monospace;
  font-size:0.7rem;
  color:var(--muted-dark);
  background:var(--paper);
  border:1px solid var(--paper-line);
  padding:4px 9px;
  border-radius:20px;
}

/* ---------- PRICING ---------- */
.pricing{
  background:var(--ink);
  color:var(--paper);
  border-top:1px solid var(--ink-line);
  border-bottom:1px solid var(--ink-line);
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  align-items:stretch;
}
.plan{
  background:var(--ink-soft);
  border:1px solid var(--ink-line);
  border-radius:10px;
  padding:32px 28px;
  display:flex;
  flex-direction:column;
  transition:border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position:relative;
}
.plan:hover{
  transform:translateY(-6px);
  border-color:var(--rose-dim);
  box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
}
.plan.featured:hover{
  border-color:var(--rose);
}
.plan.featured{
  border-color:var(--rose-dim);
}
.plan.featured::before{
  content:"MOST BOOKED";
  font-family:'Spline Sans Mono', monospace;
  font-size:0.65rem;
  letter-spacing:0.08em;
  color:var(--ink);
  background:var(--rose);
  padding:5px 10px;
  border-radius:20px;
  position:absolute;
  top:-13px;
  left:28px;
}
.plan h3{
  font-size:1.15rem;
  margin-bottom:6px;
}
.plan .plan-desc{
  color:var(--muted);
  font-size:0.86rem;
  margin-bottom:22px;
}
.plan .price{
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:2.1rem;
  font-weight:600;
  margin-bottom:2px;
}
.plan .price span{
  font-family:'Public Sans', sans-serif;
  font-size:0.85rem;
  font-weight:400;
  color:var(--muted);
}
.plan .price-note{
  font-size:0.78rem;
  color:var(--muted);
  margin-bottom:24px;
}
.plan ul{
  list-style:none;
  margin-bottom:28px;
  flex-grow:1;
}
.plan ul li{
  font-size:0.88rem;
  color:var(--paper);
  padding:9px 0;
  border-top:1px solid var(--ink-line);
  display:flex;
  gap:10px;
}
.plan ul li:first-child{border-top:none;}
.plan ul li::before{
  content:"+";
  color:var(--rose);
  font-weight:600;
}
.plan-cta{
  text-align:center;
  padding:12px;
  border-radius:4px;
  font-size:0.9rem;
  font-weight:600;
  border:1px solid var(--ink-line);
  transition:background 0.2s ease, border-color 0.2s ease;
}
.plan.featured .plan-cta{
  background:var(--rose);
  color:var(--ink);
  border-color:var(--rose);
}
.plan-cta:hover{border-color:var(--rose);}
.plan.featured .plan-cta:hover{background:#d68f95;}

.plan-mobile-cta{
  display:none;
  width:100%;
  cursor:pointer;
  font-family:'Public Sans', sans-serif;
}

.pricing-foot{
  margin-top:36px;
  text-align:center;
  color:var(--muted);
  font-size:0.88rem;
}
.pricing-foot a{color:var(--rose); border-bottom:1px solid var(--rose-dim);}

/* ---------- CONTACT ---------- */
.contact{background:var(--paper);}
.contact-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:56px;
}
.contact-info .tag{
  color:var(--rose-dim);
  font-family:'Spline Sans Mono', monospace;
  font-size:0.78rem;
  display:block;
  margin-bottom:12px;
}
.contact-info h2{
  font-size:clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom:16px;
}
.contact-info p{
  color:var(--muted-dark);
  margin-bottom:28px;
  max-width:36ch;
}
.contact-detail{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.contact-detail div{
  padding-bottom:14px;
  border-bottom:1px solid var(--paper-line);
}
.contact-detail .label{
  font-family:'Spline Sans Mono', monospace;
  font-size:0.72rem;
  color:var(--rose-dim);
  display:block;
  margin-bottom:4px;
}
.contact-detail .value{
  font-size:0.98rem;
}

form{
  background:var(--paper-card);
  border:1px solid var(--paper-line);
  border-radius:10px;
  padding:32px;
}
.field{margin-bottom:20px;}
.field label{
  display:block;
  font-size:0.85rem;
  font-weight:500;
  margin-bottom:7px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  font-family:'Public Sans', sans-serif;
  font-size:0.95rem;
  padding:11px 13px;
  border:1px solid var(--paper-line);
  border-radius:6px;
  background:var(--paper);
  color:var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:2px solid var(--rose-dim);
  outline-offset:1px;
}
.field textarea{resize:vertical; min-height:110px;}
.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.submit-btn{
  width:100%;
  background:var(--ink);
  color:var(--paper);
  font-weight:600;
  font-size:0.95rem;
  padding:14px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition:background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.submit-btn:hover{
  background:#2c2030;
  transform:translateY(-2px);
  box-shadow:0 12px 24px -14px rgba(23,17,26,0.5);
}
.submit-btn:active{
  transform:translateY(0);
  box-shadow:none;
}
.submit-btn:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.plan-cta:focus-visible{
  outline:2px solid var(--rose);
  outline-offset:2px;
}
.form-note{
  font-size:0.78rem;
  color:var(--muted-dark);
  margin-top:14px;
  text-align:center;
}
.botcheck{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
}
.form-error{
  font-size:0.85rem;
  color:var(--rose-dim);
  background:rgba(201,123,130,0.1);
  border:1px solid var(--rose-dim);
  border-radius:6px;
  padding:11px 14px;
  margin-top:14px;
  text-align:center;
}
.form-error[hidden]{display:none;}
.form-success{
  display:none;
  text-align:center;
  padding:40px 20px;
}
.form-success .check{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--rose-dim);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  font-size:1.3rem;
}
.form-success h3{margin-bottom:8px;}
.form-success p{color:var(--muted-dark); font-size:0.92rem;}

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink);
  color:var(--muted);
  padding:32px 0;
  font-size:0.82rem;
}
footer .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:8px;
}
.footer-brand img{
  height:18px;
  width:auto;
  opacity:0.9;
}

/* ---------- PLAN DETAIL MODAL (mobile "read more") ---------- */
.plan-modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.plan-modal[hidden]{display:none;}
.plan-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,7,12,0.72);
}
.plan-modal-dialog{
  position:relative;
  width:100%;
  max-width:400px;
  max-height:85vh;
  overflow-y:auto;
  z-index:1;
  border-radius:10px;
  padding-top:18px;
  color:var(--paper);
}
.plan-modal-dialog .plan{margin:0;}
.plan-modal-dialog .plan:hover{
  transform:none;
  box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  border-color:var(--ink-line);
}
.plan-modal-dialog .plan.featured:hover{border-color:var(--rose);}
.plan-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid var(--ink-line);
  background:var(--ink);
  color:var(--paper);
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  transition:border-color 0.2s ease;
}
.plan-modal-close:hover{border-color:var(--rose);}
.plan-modal-close:focus-visible{
  outline:2px solid var(--rose);
  outline-offset:2px;
}
body.modal-open{overflow:hidden;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:820px){
  nav ul{display:none;}
  .work-grid{grid-template-columns:1fr;}
  .pricing-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  section{padding:64px 0;}
  .field-row{grid-template-columns:1fr;}

  /* Compact pricing cards: show name + price only, with a
     "read more" button that opens the full details in a modal. */
  .pricing-grid .plan{padding:20px 22px;}
  .pricing-grid .plan .plan-desc,
  .pricing-grid .plan .price-note,
  .pricing-grid .plan ul,
  .pricing-grid .plan .plan-cta{display:none;}
  .pricing-grid .plan .plan-mobile-cta{display:block; margin-top:16px;}
  .pricing-grid .plan .price{font-size:1.7rem;}
  .plan.featured::before{top:-12px;}
}