/* ============================================================
   Studio Dheet — homepage styles v2
   Matches the original Wix design: grey page, white rounded
   section cards, green accents, Denton serif, two-tone headlines
   ============================================================ */

@font-face {
  font-family: 'Denton';
  src: url('fonts/denton-light.woff2') format('woff2'),
       url('fonts/denton-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #A4FCA7;
  --green-border: #87D68E;
  --green-pale: #F2FFE3;
  --ink: #0A0A0A;
  --page: #F7F7F7;
  --dim: #A9A9A9;
  --dim-olive: #B5BFA3;
  --grey-text: #555;
  --hairline: #E5E5E5;
  --serif: 'Denton', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --gutter: clamp(14px, 5vw, 80px);
  --pad-x: clamp(24px, 5vw, 72px);
  --pad-y: clamp(48px, 7vw, 96px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- card sections ---------- */
.card {
  margin: var(--gutter);
  border-radius: 28px;
  padding: var(--pad-y) var(--pad-x);
}
.card-white { background: #fff; }
.card-pale { background: var(--green-pale); }
.card-green { background: var(--green); }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.dim { color: var(--dim); }
.dim-olive { color: var(--dim-olive); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.eyebrow-center { text-align: center; }

/* ---------- pills ---------- */
.pill {
  display: inline-block;
  background: var(--green);
  border: 1px solid var(--green-border);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-lg { font-size: 15px; padding: 14px 30px; }
.pill-outline { background: transparent; border-color: var(--ink); }
.pill-outline:hover { background: var(--green); border-color: var(--green-border); }
.star { font-size: 0.85em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- announcement + nav ---------- */
.announce {
  background: var(--green);
  color: var(--ink);
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  padding: 8px var(--pad-x);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  z-index: 50;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
}
.nav-logo .dot { color: var(--green-border); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
  background: #fff radial-gradient(ellipse 65% 40% at 50% 112%, var(--green-pale), transparent 70%);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8.2vw, 122px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin: 0 auto 28px;
}
.hero-sub { font-size: 15px; color: var(--grey-text); margin-bottom: 32px; }
.hero-note {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 14px;
}
.star-note { color: var(--ink); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about-copy {
  font-size: 16px;
  color: var(--ink);
  margin: 28px 0;
  max-width: 46ch;
}
.about-stats { padding-top: 8px; }
.stat { padding: 18px 0; }
.stat + .stat { border-top: 1px solid var(--hairline); }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.1;
  color: var(--dim);
}
.stat-label { font-size: 14px; color: var(--grey-text); }

/* ---------- services ---------- */
.services { padding: 0 var(--gutter); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.service {
  background: #fff;
  border-radius: 24px;
  padding: 32px 30px 48px;
  min-height: 180px;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  margin-bottom: 12px;
}
.service p { font-size: 14px; color: var(--grey-text); }

/* ---------- approach ---------- */
.approach { margin-top: var(--gutter); }
.approach-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.approach-intro .lead { font-weight: 700; margin-bottom: 16px; }
.approach-intro p + p { margin-top: 14px; }
.stage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.stage-card {
  background: var(--green);
  border-radius: 24px;
  padding: 32px 28px 40px;
}
.stage-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 40px;
  margin-bottom: 20px;
}
.stage-tag { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.stage-card p { font-size: 14px; line-height: 1.65; }

/* ---------- work / testimonials ---------- */
.work-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 56px); }
.work-head p { color: var(--grey-text); margin: 20px 0 28px; }
.quote-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.quote-card {
  background: var(--page);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.quote-card blockquote { font-size: 14px; color: var(--grey-text); line-height: 1.7; }
.quote-card figcaption {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}

/* ---------- statement ---------- */
.statement { padding-top: clamp(72px, 10vw, 130px); padding-bottom: clamp(72px, 10vw, 130px); }
.statement-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.1;
  max-width: 22ch;
}

/* ---------- pricing ---------- */
.pricing-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }
.pricing-head p { color: var(--grey-text); margin: 18px 0 26px; }
.tabs { display: inline-flex; gap: 8px; margin-bottom: 36px; }
.tab {
  font-family: var(--serif);
  font-size: 18px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  padding: 10px 28px;
  border-radius: 999px;
  cursor: pointer;
}
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel-intro { max-width: 620px; color: var(--grey-text); margin-bottom: 32px; }
.features { max-width: 1080px; }
.features > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.features dt {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
}
.features dd { font-size: 14px; color: var(--grey-text); align-self: center; }

/* ---------- hiring comparison ---------- */
.compare .display { max-width: 18ch; margin-bottom: clamp(36px, 5vw, 56px); }
.compare-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.compare-label { font-size: 13px; font-weight: 700; }
.compare-track { display: flex; gap: 8px; }
.bar-dheet {
  background: var(--green);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  flex: 0 0 40%;
  text-align: center;
}
.bar-inhouse span {
  background: #fff;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- roles ---------- */
.roles .display { max-width: 18ch; margin-bottom: clamp(36px, 5vw, 56px); }
.role-list { list-style: none; }
.role-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
}
.role-list li:last-child { border-bottom: 1px solid var(--hairline); }

/* ---------- contact ---------- */
.contact-title { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.madlib { max-width: 820px; margin: 0 auto; }
.madlib p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.7;
  margin-bottom: 12px;
}
.madlib input,
.madlib select {
  font-family: var(--serif);
  font-weight: 300;
  font-size: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid #C9C9C9;
  padding: 0 4px 2px;
  min-width: 0;
}
.madlib input { width: clamp(140px, 22vw, 300px); }
.madlib input::placeholder { color: #BBB; }
.madlib select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.madlib select:invalid { color: #BBB; }
.madlib select option { color: var(--ink); background: #fff; font-family: var(--sans); font-size: 16px; }
.madlib input:focus, .madlib select:focus { outline: none; border-bottom-color: var(--green-border); }
.madlib button { margin-top: 32px; }

/* ---------- footer ---------- */
.footer { padding-bottom: 0; overflow: hidden; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.studio-row {
  display: grid;
  grid-template-columns: 120px auto;
  gap: 12px;
  font-size: 14px;
  padding: 4px 0;
}
.studio-row a { text-decoration: none; }
.studio-row a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: clamp(32px, 5vw, 80px); }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
}
.footer-wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 14.5vw, 230px);
  line-height: 0.75;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  transform: translateY(12%);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .stage-cards, .services-grid { grid-template-columns: 1fr 1fr; }
  .quote-row { grid-template-columns: 1fr 1fr; }
  .about-grid, .approach-head { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links a { text-align: left; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px var(--pad-x); }
  .nav-burger { display: block; }
  .stage-cards, .services-grid, .quote-row { grid-template-columns: 1fr; }
  .features > div { grid-template-columns: 1fr; gap: 6px; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .bar-inhouse { flex-wrap: wrap; }
  .bar-inhouse span { flex: 1 1 40%; }
  .bar-dheet { flex: 1 1 100%; }
  .role-list li { flex-direction: column; align-items: flex-start; gap: 12px; }
}
