﻿:root {
  --bg: #efeae5;
  --shell: #0d1015;
  --shell-2: #121821;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7f7;
  --muted: #a4a9b2;
  --primary: #ee9b65;
  --primary-strong: #f8b27a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #0d1015;
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  background: linear-gradient(180deg, var(--shell), var(--shell-2));
  box-shadow: none;
  border: none;
}

.container {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding-top: 16px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.brand-meta {
  color: var(--muted);
  font-size: 0.66rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #1c130d;
  box-shadow: 0 16px 28px rgba(238, 155, 101, 0.22);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.hero {
  padding-top: 48px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  padding-right: 8px;
}

.hero-visual {
  padding-right: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 540px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 4.3vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.hero-copy h1 span {
  color: var(--primary-strong);
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.hero-stats div {
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.portrait-card {
  width: min(100%, 330px);
  min-height: 390px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #d8d8d8;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about,
.services,
.work,
.testimonial,
.contact {
  padding-top: 18px;
  padding-bottom: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-tag {
  margin: 0 0 12px;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  color: var(--muted);
  font-size: 1rem;
}

.about-grid p {
  margin: 0;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 155, 101, 0.34);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 155, 101, 0.18), rgba(255,255,255,0.02));
  color: var(--primary-strong);
  font-size: 1.4rem;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.05em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.work-card {
  display: grid;
  gap: 14px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.012));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.work-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(135, 100, 76, 0.26), rgba(12, 15, 20, 0.75));
}

.work-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(92, 98, 128, 0.28), rgba(12, 15, 20, 0.76));
}

.work-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(76, 104, 92, 0.27), rgba(12, 15, 20, 0.76));
}

.work-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(98, 102, 118, 0.25), rgba(12, 15, 20, 0.76));
}

.work-card:nth-child(5) {
  background: linear-gradient(180deg, rgba(86, 94, 110, 0.23), rgba(12, 15, 20, 0.76));
}

.work-card:nth-child(6) {
  background: linear-gradient(180deg, rgba(118, 91, 68, 0.24), rgba(12, 15, 20, 0.76));
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 155, 101, 0.35);
  box-shadow: 0 18px 30px rgba(0,0,0,0.12);
}

.work-card .service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
}

.work-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: rgba(238, 155, 101, 0.4);
  transform: translateY(-1px);
}

.testimonial-marquee {
  overflow: hidden;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.015);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 4px 0;
  animation: testimonial-marquee 28s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 360px;
  min-width: 360px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-block;
}

.avatar-one { background: linear-gradient(135deg, #f3b57c, #7d89ff); }
.avatar-two { background: linear-gradient(135deg, #9becc0, #7a7ef1); }
.avatar-three { background: linear-gradient(135deg, #f2ce86, #f29a5e); }
.avatar-four { background: linear-gradient(135deg, #f8b2c9, #7ca8ff); }
.avatar-five { background: linear-gradient(135deg, #c3b5ff, #7dd3fc); }
.avatar-six { background: linear-gradient(135deg, #ffd59e, #ff9f7f); }

@keyframes testimonial-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.person strong {
  display: block;
  font-size: 0.88rem;
}

.person small {
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-box {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.015);
}

.contact-copy h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.mail-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--primary-strong);
}

.contact-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 14px 14px;
  resize: vertical;
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(164,169,178,0.72);
}

.contact-form .button {
  width: fit-content;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-status {
  min-height: 1.2em;
  margin: -4px 0 0;
  font-size: 0.78rem;
}

.form-status.is-sending { color: var(--muted); }
.form-status.is-success { color: #9becc0; }
.form-status.is-error { color: #ffad9c; }

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-box,
  .services-grid,
  .testimonial-row {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100%, calc(100% - 12px));
    margin: 12px auto;
  }

  .container {
    width: min(100%, calc(100% - 20px));
  }

  .topbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .topbar > .button-primary {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    text-align: left;
    justify-items: stretch;
    justify-content: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #121821;
    box-shadow: 0 18px 35px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255,255,255,0.06);
  }

  .hero-stats,
  .services-grid,
  .work-grid,
  .testimonial-row,
  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
}
