:root {
  --orange: #d9691f;
  --orange-bright: #f0904a;
  --ink: #4a3f33;
  --white: #ffffff;
  --cream: #f3f2ea;
  --gray-mid: #6b6457;
  --radius: 12px;
  --border-color: rgba(74, 63, 51, 0.16);
  --border: 1.5px solid var(--border-color);
  --shadow: 0 16px 32px -10px rgba(74, 63, 51, 0.22);
  --shadow-sm: 0 8px 20px -8px rgba(74, 63, 51, 0.18);
}

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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 900;
  line-height: 1.05;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h2 { font-size: 2.4rem; margin-bottom: 8px; }

.eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--gray-mid);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: var(--border-color);
  backdrop-filter: blur(6px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: var(--border);
}

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

.logo-horizontal {
  display: inline-flex;
  align-items: baseline;
  column-gap: 10px;
  text-decoration: none;
}
.logo-horizontal .icon { display: block; }
.logo-horizontal .wordmark {
  font-family: "Avenir Next", "Century Gothic", "Futura", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  font-size: 2rem;
  white-space: nowrap;
  margin: 0;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav a:hover { color: var(--orange); }

.nav a.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
}
.nav a.nav-cta:hover { background: var(--orange-bright); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--cream);
  padding: 120px 0;
  text-align: center;
  background-image:
    linear-gradient(rgba(74,63,51,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,63,51,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  position: relative;
}
.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  color: var(--ink);
  font-size: 3.4rem;
  max-width: 760px;
  margin: 0 auto 22px;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #5a5142;
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services */
.services { padding: 100px 0; text-align: center; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 20px;
}

.service-card {
  position: relative;
  background: var(--white);
  padding: 32px 28px 28px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-num {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { color: var(--gray-mid); }

/* About */
.about { background: var(--cream); padding: 100px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p { color: var(--gray-mid); margin-bottom: 16px; }

.about-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.about-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.stat-label {
  color: var(--gray-mid);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* Work */
.work { padding: 100px 0; text-align: center; }

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

.work-card {
  width: 100%;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.work-card-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.work-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(74, 63, 51, 0.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.work-card-price {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.work-more {
  margin-top: 40px;
  text-align: center;
}

/* Testimonials */
.testimonials { background: var(--white); padding: 100px 0; text-align: center; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  text-align: left;
}

.testimonials blockquote {
  background: var(--cream);
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonials p { margin-bottom: 14px; color: var(--ink); font-weight: 500; }
.testimonials cite { color: var(--orange); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; }

/* Contact */
.contact { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info p { color: var(--gray-mid); margin-bottom: 24px; }
.contact-info ul { list-style: none; }
.contact-info li { margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.contact-info strong { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; color: var(--orange); display: block; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--cream);
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.contact-form button { margin-top: 18px; align-self: flex-start; }

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--gray-mid);
  padding: 32px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner p { margin-bottom: 4px; }
.photo-credit { font-size: 0.75rem; color: #8a8272; }

.footer-inner .logo-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.logo-stacked .sup,
.logo-stacked .home-row .home {
  font-family: "Avenir Next", "Century Gothic", "Futura", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.86;
  font-size: 1.5rem;
  white-space: nowrap;
  margin: 0;
  color: var(--ink);
}
.logo-stacked .sup { letter-spacing: -0.03em; }
.logo-stacked .home-row .home { letter-spacing: -0.01em; }
.logo-stacked .home-row {
  display: flex;
  align-items: baseline;
  column-gap: 2px;
}
.logo-stacked .home-row .icon { display: block; }

/* Project modal */
body.modal-open { overflow: hidden; }

.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-modal.open { display: flex; }

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 63, 51, 0.45);
  backdrop-filter: blur(3px);
}

.project-modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  z-index: 1;
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border: var(--border);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.project-modal-close:hover { background: var(--orange); color: var(--white); }

.project-modal-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.project-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-modal.no-image .project-modal-img-wrap { display: none; }

.project-modal-body { padding: 32px; }
.project-modal-body h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.project-modal-body p {
  color: var(--gray-mid);
  font-size: 1.02rem;
}
.project-modal-body p.project-modal-price {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner { gap: 12px; }
  .logo-horizontal { min-width: 0; column-gap: 8px; }
  .logo-horizontal .icon { flex-shrink: 0; width: 28px; height: 26px; }
  .logo-horizontal .wordmark { font-size: 1.3rem; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: var(--border);
  }
  .service-grid, .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
}

/* Tighter rhythm for phones, since most visitors are on mobile */
@media (max-width: 600px) {
  .hero { padding: 64px 0; }
  .services, .about, .work, .testimonials, .contact { padding: 60px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  h2 { font-size: 1.6rem; }
  .section-sub { margin-bottom: 28px; }
  .service-card { padding: 24px 22px 22px; }
  .work-card { height: 170px; }
  .about-stats { gap: 14px; }
  .stat { padding: 18px; }
  .contact-form { padding: 24px; }
  .hero-buttons { gap: 12px; }
  .nav-toggle { padding: 10px; margin: -10px; }
  .nav.open a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  .nav.open a.nav-cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
