:root {
  --ink: #0f172a;
  --paper: #f8fafc;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0d5c56;
  --coral: #ff6b4a;
  --coral-dark: #e85a3a;
  --muted: #64748b;
  --line: #e2e8f0;
  --topbar: 38px;
  --header: 72px;
  --display: "Sora", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker-light { color: var(--coral); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-accent { background: var(--coral); color: var(--white); }
.btn-accent:hover { background: var(--coral-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-dark { background: var(--ink); color: var(--white); border-radius: 10px; }
.btn-dark:hover { background: var(--teal); }

/* Topbar */
.topbar {
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--coral); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 40px; height: 40px; object-fit: contain; }
.custom-logo { height: 44px; width: auto; }
.logo-word {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; height: 2px; width: 20px; background: var(--ink); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero split */
.hero {
  padding: 64px 0 72px;
  background: linear-gradient(135deg, var(--paper) 0%, #ecfdf5 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 16px;
}
.hero-lead {
  max-width: 44ch;
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  color: var(--teal);
}
.hero-stats span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-badge strong {
  display: block;
  color: var(--coral);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-badge span { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Trust strip */
.trust {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.trust-item strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: #ecfdf5;
  color: var(--teal);
  border-radius: 50%;
  font-size: 12px;
}

.section { padding: 80px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.section-head-row p { margin: 0; max-width: 32ch; color: var(--muted); text-align: right; }

/* Bento categories */
.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
}
.bento-card.is-wide { grid-row: 1 / span 2; min-height: 100%; }
.bento-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-card:hover img { transform: scale(1.06); }
.bento-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,0.85));
  color: var(--white);
}
.bento-meta h3 { font-size: 28px; color: var(--white); margin-bottom: 6px; }
.bento-meta p { margin: 0 0 10px; font-size: 14px; opacity: 0.85; }
.bento-link { font-size: 13px; font-weight: 600; color: var(--coral); }

/* Products */
.shop { background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-cat {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--white);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.product-info { padding: 16px 18px 20px; }
.product-info h3 { font-size: 18px; margin: 0 0 6px; font-family: var(--sans); font-weight: 600; }
.product-price { margin: 0; color: var(--coral); font-weight: 700; font-size: 17px; }

/* About */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(32px, 4vw, 44px); max-width: 16ch; }
.about-copy p { color: var(--muted); max-width: 48ch; }
.about-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.about-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
}
.about-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Gallery mosaic */
.gallery { padding: 0 0 80px; background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; }
.gallery .is-tall { grid-row: 1 / span 2; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* Services */
.services { background: var(--white); }
.service-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.service-intro h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.service-intro img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}
.service-steps { display: grid; gap: 0; }
.service-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.service-step h3 { font-size: 22px; margin-bottom: 6px; }
.service-step p { margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { color: var(--white); font-size: clamp(32px, 4vw, 44px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-list span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--coral); }

.contact-form {
  background: var(--white);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
}
.contact-form h3 { font-size: 22px; margin: 0 0 8px; }
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.form-status { min-height: 1.3em; margin: 0; color: var(--teal); font-size: 14px; }
.form-status.is-error { color: #dc2626; }

/* Footer */
.site-footer { background: #0c1222; color: #94a3b8; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo .logo-word { color: var(--white); }
.footer-brand p { max-width: 36ch; margin: 0; font-size: 15px; }
.footer-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-base { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-base-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 12px;
}

.page-wrap { padding: 80px 0 100px; max-width: 720px; }
.error-404 { text-align: left; padding: 100px 0; }
.shop-main { padding: 60px 0 90px; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.is-wide { grid-row: auto; }
}

@media (max-width: 900px) {
  .hero-grid, .about-grid, .service-layout, .contact-wrap, .footer-grid, .trust-row {
    grid-template-columns: 1fr;
  }
  .section-head-row { flex-direction: column; align-items: start; }
  .section-head-row p { text-align: left; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery .is-tall { grid-row: auto; }
  .gallery img { height: 200px; }
}

@media (max-width: 720px) {
  .topbar { font-size: 11px; gap: 12px; flex-wrap: wrap; height: auto; padding: 8px; }
  .topbar span:first-child { display: none; }
  .menu-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: calc(var(--header) + var(--topbar)) 0 0;
    background: var(--white);
    transform: translateY(-120%);
    transition: 0.35s var(--ease);
    padding: 28px;
    border-top: 1px solid var(--line);
  }
  .menu-open .site-nav { transform: none; }
  .nav-list { flex-direction: column; gap: 16px; }
  .nav-list a { font-size: 20px; font-family: var(--display); color: var(--ink); }
  .hero-stats, .trust-row, .product-grid, .bento-grid, .footer-base-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual img { height: 360px; }
  .section { padding: 56px 0; }
}
