:root {
  --bg: #f8f6f0;
  --bg-alt: #f1ede4;
  --surface: #fffdf9;
  --ink: #142019;
  --muted: #59645f;
  --line: #e6e1d6;
  --line-strong: #d8d1c2;
  --accent: #0e6b5b;
  --accent-hover: #0a5749;
  --accent-soft: #e2efe9;
  --accent-light: #9fd8c8;
  --focus: #7cc4b4;
  --chat-bg: #efeae2;
  --chat-out: #d9f3e4;
  --wa: #1fa855;
  --radius: 18px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(20, 32, 25, 0.04), 0 18px 40px -22px rgba(20, 32, 25, 0.28);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* Fine paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  max-width: 22em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: 72px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal on scroll (only when the motion script runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(20, 32, 25, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  fill: var(--accent);
  transition: transform 0.6s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand-mark text {
  fill: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 12.5px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14.5px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 28px -14px rgba(14, 107, 91, 0.7);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

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

.btn-light:hover {
  box-shadow: 0 14px 30px -14px rgba(159, 216, 200, 0.7);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 112px;
}

.fur {
  display: block;
  pointer-events: none;
}

.hero .fur {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: var(--go, 0);
  background: radial-gradient(560px circle at var(--gx, 50%) var(--gy, 40%), rgba(14, 107, 91, 0.11), transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(14, 107, 91, 0.18);
  border-radius: 999px;
  background: rgba(226, 239, 233, 0.7);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: breathe 2.8s ease-out infinite;
}

@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(14, 107, 91, 0.45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(14, 107, 91, 0); }
}

h1 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 1.4rem + 4.3vw, 4.7rem);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -0.032em;
}

/* Headline words rise from behind a mask */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.1em 0.14em 0;
  margin: 0 -0.1em -0.14em 0;
}

.w > span {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 65ms + 150ms);
}

@keyframes rise {
  to { transform: translateY(0); }
}

.lead {
  max-width: 33em;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.byline img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line-strong);
  transition: transform 0.6s var(--ease-out);
}

.byline:hover img {
  transform: scale(1.06);
}

.byline strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.byline span span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

/* Chat mock */
.chat {
  margin: 0;
}

.chat-float {
  animation: float 7s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.chat-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--chat-bg);
  box-shadow: 0 2px 4px rgba(20, 32, 25, 0.04), 0 44px 80px -44px rgba(20, 32, 25, 0.5);
  will-change: transform;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff;
}

.chat-head strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.chat-head span:not(.chat-avatar) {
  font-size: 12.5px;
  opacity: 0.85;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 22px;
}

.msg {
  max-width: 84%;
  margin: 0;
  padding: 8px 11px 6px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.msg.in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 4px;
  transform-origin: bottom left;
}

.msg.out {
  align-self: flex-end;
  background: var(--chat-out);
  border-top-right-radius: 4px;
  transform-origin: bottom right;
}

.msg.is-pending {
  display: none;
}

.msg.pop {
  animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

.msg.typing {
  display: flex;
  gap: 4px;
  padding: 13px 14px;
  animation: pop 0.35s var(--ease-out) both;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c7a76;
  animation: typing-dot 1.2s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.msg-who {
  display: block;
  margin-bottom: 1px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.msg time {
  display: block;
  margin-top: 2px;
  color: #7a8582;
  font-size: 11px;
  text-align: right;
}

.chat figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  text-align: center;
}

/* Sections */
.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 760px;
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-intro {
  max-width: 40em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-outro {
  margin: 32px 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

/* Cursor light on cards */
.glow {
  position: relative;
  isolation: isolate;
  transition: border-color 0.4s, box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.glow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 107, 91, 0.09), transparent 65%);
  transition: opacity 0.6s;
}

.glow:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.glow:hover::before {
  opacity: 1;
}

/* About / credentials */
.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 270px;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: 30px;
  object-fit: cover;
  border-radius: 140px 140px 22px 22px;
  box-shadow: var(--shadow);
}

.about-intro h2 + p {
  margin-top: 18px;
}

.about-intro p:not(.label) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cred {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.cred-feature {
  grid-column: 1 / -1;
  padding: 30px;
  border-color: transparent;
  background: radial-gradient(120% 140% at 100% 0%, #15836f 0%, var(--accent) 45%, #0b5649 100%);
  color: #fff;
}

.cred-feature.glow::before {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 65%);
}

.cred-kicker {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cred strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cred p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.cred-feature .cred-kicker,
.cred-feature p {
  color: rgba(255, 255, 255, 0.82);
}

.cred-feature strong {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem);
}

/* Sample designs */
.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 44px;
  margin-top: 60px;
}

.work {
  margin: 0;
}

.browser {
  overflow: hidden;
  border: 1px solid rgba(20, 32, 25, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 32, 25, 0.05), 0 30px 60px -34px rgba(20, 32, 25, 0.4);
  transition: box-shadow 0.6s var(--ease-out);
  will-change: transform;
}

.browser:hover {
  box-shadow: 0 1px 2px rgba(20, 32, 25, 0.05), 0 50px 80px -40px rgba(20, 32, 25, 0.5);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f4f1ea;
}

.browser-bar > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcd6ca;
}

.browser-bar > span {
  overflow: hidden;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
}

.work figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 18px;
}

.work figcaption strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.work figcaption span {
  color: var(--muted);
  font-size: 14px;
}

/* Mini pages: every size is in em, and 1em scales with the frame width */
.mini {
  font-family: var(--sans);
  font-size: 1.3cqw;
  line-height: 1.4;
  transform: translateY(0);
  transition: transform 1.6s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.browser:hover .mini {
  transform: translateY(var(--scroll, 0px));
  transition: transform 7s cubic-bezier(0.45, 0.05, 0.35, 1);
}

.work.is-auto .mini {
  animation: page-tour 16s ease-in-out infinite alternate;
}

@keyframes page-tour {
  0%, 18% { transform: translateY(0); }
  82%, 100% { transform: translateY(var(--scroll, 0px)); }
}

.mini p {
  margin: 0;
}

.m-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  padding: 1.5em 2.6em;
}

.m-logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.m-logo svg {
  width: 1.5em;
  height: 1.5em;
}

.m-links {
  display: flex;
  gap: 2em;
  font-size: 0.92em;
  opacity: 0.7;
}

.m-links i {
  font-style: normal;
}

.m-btn {
  display: inline-block;
  padding: 0.75em 1.4em;
  border-radius: 99em;
  font-size: 0.92em;
  font-weight: 600;
  white-space: nowrap;
}

.m-btn.m-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 0.12em currentColor;
}

.m-row {
  display: flex;
  gap: 0.8em;
}

.m-tag {
  display: inline-block;
  padding: 0.4em 0.95em;
  border-radius: 99em;
  font-size: 0.85em;
  font-weight: 600;
}

.m-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3em;
  align-items: center;
  padding: 2.5em 2.6em 4em;
}

.m-h {
  display: block;
  margin: 0.45em 0 0.4em;
  font-size: 3.6em;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.m-hero p {
  max-width: 26em;
  margin-bottom: 1.6em;
  font-size: 1.1em;
  opacity: 0.75;
}

.m-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 2.2em;
}

.m-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
  padding: 0 2.6em 3.4em;
}

.m-cards > div {
  padding: 1.7em;
  border-radius: 1.3em;
}

.m-cards b {
  display: block;
  margin-bottom: 0.35em;
  font-size: 1.15em;
  font-weight: 600;
}

.m-cards p {
  font-size: 0.95em;
  opacity: 0.7;
}

.m-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  margin: 0 2.6em 3.4em;
  padding: 2.2em 2.6em;
  border-radius: 1.6em;
}

.m-band b {
  display: block;
  margin-bottom: 0.2em;
  font-size: 1.5em;
  letter-spacing: -0.02em;
}

.m-band p {
  opacity: 0.8;
}

.m-foot {
  display: flex;
  justify-content: space-between;
  padding: 2em 2.6em 2.6em;
  font-size: 0.85em;
  opacity: 0.55;
}

.m-chip {
  position: absolute;
  padding: 0.7em 1.1em;
  border-radius: 1em;
  background: #fff;
  color: #133a34;
  font-size: 0.9em;
  font-weight: 600;
  box-shadow: 0 0.8em 2em -0.8em rgba(0, 0, 0, 0.3);
}

.m-chip-a { left: -1.2em; bottom: 16%; }
.m-chip-b { right: -0.8em; top: 12%; }

/* Mini · dental */
.mini-dental { background: #f3f9f7; color: #133a34; }
.mini-dental .m-logo svg { fill: #2a9d8f; }
.mini-dental .m-btn { background: #2a9d8f; color: #fff; }
.mini-dental .m-btn.m-ghost { background: transparent; color: #2a9d8f; }
.mini-dental .m-tag { background: #dff1ec; color: #1f7f73; }
.mini-dental .m-art { background: radial-gradient(circle at 35% 30%, #fff, #cfece5 55%, #a8dccf); }
.mini-dental .m-tooth { width: 44%; height: 44%; fill: #fff; filter: drop-shadow(0 1.2em 1.4em rgba(20, 90, 80, 0.25)); }
.mini-dental .m-cards > div { background: #fff; box-shadow: 0 0 0 1px #e1efeb; }
.mini-dental .m-band { background: #133a34; color: #fff; }
.mini-dental .m-band .m-btn { background: #fff; color: #133a34; }

/* Mini · bakery */
.mini-bakery { background: #f6ede0; color: #3a2318; }
.mini-bakery .m-logo { font-family: var(--serif); font-size: 1.5em; font-style: italic; font-weight: 500; }
.mini-bakery .m-h { font-family: var(--serif); font-size: 3.9em; font-weight: 450; letter-spacing: -0.025em; }
.mini-bakery .m-cards b,
.mini-bakery .m-band b { font-family: var(--serif); font-weight: 500; }
.mini-bakery .m-btn { background: #b4532a; color: #fff6ec; }
.mini-bakery .m-btn.m-ghost { background: transparent; color: #b4532a; }
.mini-bakery .m-tag { background: #ecdcc6; color: #8a4a26; }
.mini-bakery .m-art { aspect-ratio: 4 / 5; border-radius: 50% 50% 1.6em 1.6em / 40% 40% 1.6em 1.6em; background: linear-gradient(170deg, #f2c58d, #d98c4f 70%, #b4532a); }
.mini-bakery .m-bread { width: 78%; filter: drop-shadow(0 1em 1.2em rgba(90, 40, 15, 0.3)); }
.mini-bakery .m-cards > div { background: #fbf5ec; box-shadow: 0 0 0 1px #ecdcc6; }
.m-thumb { display: block; width: 3.6em; height: 3.6em; margin-bottom: 1em; border-radius: 50%; }
.t1 { background: radial-gradient(circle at 35% 35%, #f3c78f, #c27a3e); }
.t2 { background: radial-gradient(circle at 35% 35%, #f6d6a8, #d29a55); box-shadow: inset 0 0 0 0.95em #fbf5ec; }
.t3 { background: radial-gradient(circle at 35% 35%, #e8b07a, #8d4a24); }
.mini-bakery .m-band { background: #3a2318; color: #f6ede0; }
.mini-bakery .m-band .m-btn { background: #f2c58d; color: #3a2318; }

/* Mini · real estate */
.mini-estate { background: #0f1b2d; color: #ece6d9; }
.mini-estate .m-logo { font-size: 1em; letter-spacing: 0.18em; }
.mini-estate .m-logo em { color: #c9a86a; font-style: normal; }
.mini-estate .m-btn { background: #c9a86a; color: #0f1b2d; }
.mini-estate .m-tag { background: rgba(201, 168, 106, 0.15); color: #c9a86a; }
.m-hero-center { display: block; padding: 3.5em 2.6em 4em; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 106, 0.2), transparent 60%); }
.m-hero-center .m-h { font-family: var(--serif); font-size: 3.9em; font-weight: 450; letter-spacing: -0.025em; }
.m-hero-center p { margin: 0 auto 2em; }
.m-search { display: inline-flex; align-items: center; padding: 0.5em; border-radius: 99em; background: #fff; color: #0f1b2d; text-align: left; }
.m-search > span:not(.m-btn) { padding: 0.3em 1.6em; border-right: 1px solid #e5e1d8; font-size: 0.95em; font-weight: 600; }
.m-search small { display: block; font-size: 0.75em; font-weight: 500; opacity: 0.55; }
.m-search .m-btn { margin-left: 0.6em; }
.mini-estate .m-cards > div { overflow: hidden; padding: 0; background: #16263d; }
.mini-estate .m-cards b { padding: 1.1em 1.4em 0; }
.mini-estate .m-cards p { padding: 0 1.4em 1.3em; }
.m-house { display: grid; place-items: end center; height: 9em; padding-top: 1.2em; }
.m-house svg { width: 72%; fill: rgba(255, 255, 255, 0.88); }
.m-house .win { fill: rgba(15, 27, 45, 0.55); }
.h1 { background: linear-gradient(160deg, #3b5b7a, #1d3350); }
.h2 { background: linear-gradient(160deg, #7a6440, #2d2a2a); }
.h3 { background: linear-gradient(160deg, #3d6b63, #1c3330); }
.mini-estate .m-band { background: #c9a86a; color: #0f1b2d; }
.mini-estate .m-band .m-btn { background: #0f1b2d; color: #c9a86a; }

/* Mini · auto service */
.mini-auto { background: #121212; color: #f1f1f1; }
.mini-auto .m-logo { align-items: baseline; font-size: 1.4em; font-weight: 800; letter-spacing: -0.02em; }
.mini-auto .m-logo small { margin-left: 0.3em; font-size: 0.55em; font-weight: 500; letter-spacing: 0.05em; opacity: 0.6; }
.mini-auto .m-btn { background: #ff6a1a; color: #121212; }
.mini-auto .m-btn.m-ghost { background: transparent; color: #ff6a1a; }
.mini-auto .m-tag { background: rgba(255, 106, 26, 0.14); color: #ff8a4c; }
.mini-auto .m-h { font-size: 3.5em; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -0.03em; }
.mini-auto .m-art { aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 85%, rgba(255, 106, 26, 0.35), transparent 60%), #1b1b1b; }
.mini-auto .m-car { width: 86%; }
.mini-auto .m-cards > div { border-top: 0.25em solid #ff6a1a; border-radius: 0.4em; background: #1b1b1b; }
.mini-auto .m-band { background: #ff6a1a; color: #121212; }
.mini-auto .m-band .m-btn { background: #121212; color: #ff6a1a; }

/* Problems */
.problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.problems p {
  margin: 0;
  padding: 22px 24px 22px 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15.5px;
}

.problems p::after {
  content: '';
  position: absolute;
  top: 31px;
  left: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-icon,
.why-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 0.6s var(--ease-out), background 0.4s, color 0.4s;
}

.service:hover .service-icon {
  transform: rotate(-8deg) scale(1.06);
  background: var(--accent);
  color: #fff;
}

.service h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.service-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service > p:not(.service-sub):not(.for-whom) {
  margin: 14px 0 0;
  font-size: 15px;
}

.checks {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}

.checks .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent);
}

.for-whom {
  margin: auto 0 0;
  padding-top: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.for-whom::before {
  content: '';
  display: block;
  margin: 2px 0 14px;
  border-top: 1px solid var(--line);
}

.for-whom strong {
  color: var(--ink);
  font-weight: 600;
}

.services-more {
  margin: 32px 0 0;
  color: var(--muted);
}

.services-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.services-more a .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease-out);
}

.services-more a:hover .icon {
  transform: translateX(4px);
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
  margin-top: 44px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-item:hover .why-icon {
  transform: rotate(-8deg) scale(1.06);
}

.why-item h3 {
  font-size: 1.12rem;
}

.why-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.6px 12px no-repeat;
  transition: transform 0.5s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq details p {
  margin: -6px 0 0;
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 15px;
}

.faq details[open] p {
  animation: faq-open 0.6s var(--ease-out);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* CTA */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(120% 130% at 100% 0%, #1f4a3f 0%, #17322b 35%, var(--ink) 75%);
  color: #fff;
}

.cta .fur {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.cta-inner {
  padding: clamp(40px, 7vw, 84px);
}

.cta h2 {
  max-width: 17em;
  color: #fff;
}

.cta h2 em {
  color: var(--accent-light);
}

.cta-inner > p {
  max-width: 36em;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.cta .cta-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 0 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

/* Floating WhatsApp button (mobile) */
.wa-float {
  display: none;
}

@media (max-width: 760px) {
  .wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
  }

  .wa-float .icon {
    width: 26px;
    height: 26px;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) {
  .work:nth-child(even) {
    margin-top: 80px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 52px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .chat {
    max-width: 440px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .problems,
  .services,
  .why,
  .steps,
  .creds,
  .works {
    grid-template-columns: 1fr;
  }

  .works {
    gap: 44px;
  }

  .about-photo {
    max-width: 210px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .chat-float,
  .eyebrow::before {
    animation: none;
  }

  .browser:hover .mini {
    transform: none;
  }

  .glow:hover {
    transform: none;
  }
}
