/* ─── Reset & Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:        #f7f7f5;
  --surface:   #ffffff;
  --border:    rgba(0, 0, 0, 0.08);
  --text:      #0e0f11;
  --muted:     #6b7280;
  --accent:    #0e0f11;
  --accent-2:  #2563eb;
  --radius:    14px;
  --radius-sm: 8px;

  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */
.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.section.visible {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.95rem 2.1rem;
  font-size: 1rem;
}

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 247, 245, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-logo img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.18s, transform 0.14s !important;
}
.nav-cta:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-inner {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e2e4e9;
  box-shadow: 0 32px 64px rgba(0,0,0,0.13);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(14,15,17,0.08));
}

/* ─── About ───────────────────────────────────────────────────────────────── */
.about {
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
}
.about-text p + p { margin-top: 0.9rem; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.value-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.value-icon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  padding-top: 0.2rem;
}

.value-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Work ────────────────────────────────────────────────────────────────── */
.work {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
}

.project-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img--harvest {
  background: linear-gradient(135deg, #d4edda, #a8d5b0, #6db97a);
}
.project-img--sunday {
  background: linear-gradient(135deg, #fce4d6, #f7b89a, #e8896a);
}

.project-img-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.project-link-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 17, 0.55);
  opacity: 0;
  transition: opacity 0.22s;
  backdrop-filter: blur(2px);
}
.project-img-wrap:hover .project-link-overlay,
.project-img-wrap:focus-within .project-link-overlay {
  opacity: 1;
}

.link-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.project-link-overlay:hover .link-label {
  background: rgba(255,255,255,0.15);
}

.project-meta {
  padding: 1.5rem 1.75rem 1.75rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.project-url {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  transition: opacity 0.15s;
}
.project-url:hover { opacity: 0.7; }

/* ─── Process ─────────────────────────────────────────────────────────────── */
.process {
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-block: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: step;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child { border-right: none; }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.contact {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.contact-inner {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.contact-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.contact-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 44ch;
  margin-inline: auto;
}
.contact-sub + .btn { margin-inline: auto; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.55);
  padding-block: 2.25rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand img {
  height: 26px;
  width: 26px;
  border-radius: 5px;
  object-fit: cover;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 3rem;
  }

  .hero-visual { order: -1; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .process-step:last-child,
  .process-step:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 580px) {
  .nav nav { gap: 1.25rem; }
  .nav nav a:not(.nav-cta) { display: none; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; }
  .process-step:not(:last-child) { border-bottom: 1px solid var(--border); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav { justify-content: center; }
}
