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

:root {
  --bg: #061015;
  --surface: #0d171c;
  --surface2: #122129;
  --border: rgba(191,214,221,0.11);
  --accent: #7ea08f;
  --accent-strong: #9ac0ab;
  --accent-warm: #c6945f;
  --text: #ebf1ed;
  --muted: #89a0a9;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background:
    radial-gradient(circle at top, rgba(198,148,95,0.12), transparent 30%),
    linear-gradient(180deg, #081217 0%, #061015 36%, #071117 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, rgba(126,160,143,0.05) 0 1px, transparent 1px 20px),
    repeating-radial-gradient(circle at 84% 26%, rgba(154,192,171,0.04) 0 1px, transparent 1px 26px),
    repeating-radial-gradient(circle at 58% 82%, rgba(198,148,95,0.03) 0 1px, transparent 1px 22px),
    linear-gradient(rgba(126,160,143,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,160,143,0.025) 1px, transparent 1px);
  background-size: 620px 620px, 760px 760px, 680px 680px, 58px 58px, 58px 58px;
  background-position: 0 0, 100% 0, 50% 100%, 0 0, 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

body::after {
  content: '';
  position: fixed;
  inset: auto 0 0;
  height: 26vh;
  background:
    linear-gradient(180deg, transparent, rgba(6,16,21,0.9)),
    linear-gradient(0deg, rgba(6,16,21,0.95), rgba(6,16,21,0.95));
  clip-path: polygon(0 100%, 0 72%, 12% 63%, 20% 74%, 31% 48%, 43% 70%, 56% 38%, 68% 67%, 82% 46%, 100% 74%, 100% 100%);
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(6,16,21,0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.02em;
}

.logo-dot {
  position: relative;
  width: 12px;
  height: 10px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.logo-dot::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  width: 4px;
  height: 3px;
  background: rgba(255,255,255,0.92);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  transform: translateX(-50%);
}

.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-strong); }

.btn {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.6rem 1.3rem;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
  border: none;
}
.btn:hover { opacity: 0.85; }
.btn-accent { background: linear-gradient(135deg, var(--accent-warm), #d5a26a); color: #111; }
.btn-outline { background: rgba(255,255,255,0.02); color: var(--text); border: 1px solid var(--border); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 2.5rem 5rem;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,21,0.86) 0%, rgba(6,16,21,0.6) 48%, rgba(6,16,21,0.12) 100%),
    radial-gradient(circle at 70% 18%, rgba(198,148,95,0.26), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 38%);
  border: 1px solid rgba(191,214,221,0.08);
  border-radius: 18px;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(7,17,23,0.1), rgba(7,17,23,0.9)),
    linear-gradient(90deg, rgba(7,17,23,0.9), rgba(11,27,31,0.88));
  clip-path: polygon(0 100%, 0 72%, 10% 60%, 18% 66%, 28% 43%, 39% 58%, 51% 31%, 63% 57%, 75% 39%, 88% 62%, 100% 52%, 100% 100%);
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 2rem;
}
.hero-badge::before { content: ''; width: 20px; height: 1px; background: var(--accent); }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.hero h1 .dim {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.8rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-accent { font-size: 0.9rem; padding: 0.85rem 2rem; }
.hero-note { font-size: 0.78rem; color: var(--muted); font-style: italic; }

.hero-glow {
  position: absolute;
  top: 7%;
  right: -4%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(198,148,95,0.22) 0%, rgba(198,148,95,0.08) 28%, transparent 64%);
  pointer-events: none;
  filter: blur(4px);
  z-index: -1;
}

/* SECTION */
.section {
  padding: 6rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(191,214,221,0.08);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* WHAT WE DO */
.what-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.what-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.what-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.25s;
}
.what-card:hover { background: var(--surface2); }

.what-card-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.what-card-icon { margin-bottom: 1rem; }
.what-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.what-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.what-card p { font-size: 0.83rem; line-height: 1.65; color: var(--muted); }

/* FIT */
.fit-intro {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fit-pill {
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
}

/* PORTFOLIO */
.portfolio-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.portfolio-card:hover { border-color: rgba(126,160,143,0.35); transform: translateY(-3px); }

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,16,0.08), rgba(8,12,16,0.24));
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.03);
}

.portfolio-info {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid var(--border);
}

.portfolio-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.portfolio-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.portfolio-link {
  font-size: 0.78rem;
  color: var(--accent-warm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.portfolio-link:hover { gap: 0.7rem; }
.portfolio-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  max-width: 620px;
}

.step {
  display: flex;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step:first-child { padding-top: 0; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 0.15rem;
  width: 24px;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.step p { font-size: 0.85rem; line-height: 1.65; color: var(--muted); }

/* PRICING */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 2.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.price-box:hover,
.price-box:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(126,160,143,0.45);
  background: linear-gradient(180deg, rgba(126,160,143,0.1), transparent 22%), var(--surface);
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
}

.price-box:focus-visible {
  outline: 2px solid rgba(126,160,143,0.5);
  outline-offset: 3px;
}

.price-from {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.price-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.price-num span { font-size: 1.2rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }

.price-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.8rem; line-height: 1.6; }

.price-box.featured {
  background: linear-gradient(180deg, rgba(126,160,143,0.1), transparent 18%), var(--surface);
  border-color: rgba(126,160,143,0.42);
  transform: translateY(-8px);
}

.price-box.featured:hover,
.price-box.featured:focus-visible {
  transform: translateY(-12px);
}

.price-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1115;
  background: linear-gradient(135deg, var(--accent-warm), #d5a26a);
  padding: 0.35rem 0.55rem;
  margin-bottom: 1rem;
}

.price-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.price-includes li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.price-includes li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.price-box .btn {
  margin-top: auto;
  pointer-events: none;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background:
    radial-gradient(circle at top, rgba(198,148,95,0.18), transparent 36%),
    linear-gradient(180deg, rgba(18,33,41,0.92), rgba(10,19,24,0.98));
  border: 1px solid rgba(191,214,221,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-avatar::before {
  content: '';
  position: absolute;
  inset: auto 12px 14px 12px;
  height: 52px;
  background: linear-gradient(180deg, rgba(154,192,171,0.28), rgba(126,160,143,0.12));
  clip-path: polygon(0 100%, 0 78%, 18% 58%, 31% 72%, 48% 34%, 63% 64%, 79% 42%, 100% 78%, 100% 100%);
  opacity: 0.9;
}

.about-avatar::after {
  content: '';
  position: absolute;
  inset: auto 22px 34px 22px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.38));
  clip-path: polygon(0 100%, 12% 74%, 28% 82%, 49% 14%, 66% 68%, 84% 34%, 100% 72%, 100% 100%);
  opacity: 0.9;
}

.about-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.about-title {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.about-text { font-size: 0.92rem; line-height: 1.75; color: var(--muted); max-width: 500px; }

.about-facts {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.about-fact {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}

/* CTA BANNER */
.cta-banner {
  background:
    linear-gradient(180deg, rgba(198,148,95,0.05), transparent 38%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.cta-banner p { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.cta-banner .btn-accent { font-size: 0.92rem; padding: 0.9rem 2.2rem; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.contact-info p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 0.8rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-item svg {
  width: 15px; height: 15px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.contact-item-text span { font-size: 0.88rem; color: var(--text); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 2px;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: 2px;
  align-self: flex-start;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.65; cursor: wait; }

.form-status {
  min-height: 1.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-status.is-error { color: #ff8f8f; }
.form-status.is-success { color: #8dd5a6; }

.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;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

footer p { font-size: 0.75rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 800px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero::after { height: 30%; }
  .section { padding: 4rem 1.5rem; }
  .what-cards { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-box.featured { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; gap: 0.8rem; padding: 1.5rem; text-align: center; }
  .cta-banner { padding: 3rem 1.5rem; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge   { animation: fadeUp 0.5s ease both; }
.hero h1      { animation: fadeUp 0.55s 0.07s ease both; }
.hero-sub     { animation: fadeUp 0.55s 0.14s ease both; }
.hero-actions { animation: fadeUp 0.55s 0.2s ease both; }
