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

:root {
  --bg:      #f0efed;
  --surface: #ffffff;
  --border:  rgba(0,0,0,0.09);
  --accent:  #7c5c2e;
  --text:    #1c1c1e;
  --muted:   #7a7a82;
  --font:    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

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

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(0,0,0,0.4);
  transition: color 0.2s;
}
.nav-cta:hover { color: var(--text); }

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 7rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(to right, rgba(240,239,237,0.97) 0%, rgba(240,239,237,0.88) 50%, rgba(240,239,237,0.5) 100%),
    url('hero-bg.jpg') center/cover no-repeat;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  padding-left: 1.8rem;
}
.hero-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1) 30%, rgba(124,92,46,0.4) 60%, transparent);
  border-radius: 2px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 2rem;
}
.dim { color: rgba(0,0,0,0.18); }

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--text);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.8; transform: translateY(-1px); }

/* ── SERVICES ────────────────────────────── */
.services { padding: 7rem 0; }

.label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.card { background: var(--surface); transition: background 0.2s; }
.card:hover { background: #f7f6f4; }

.card-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: rgba(0,0,0,0.25);
  transition: color 0.2s;
}
.card:hover .card-heading { color: var(--accent); }
.card-heading h3 { margin-bottom: 0; }

.card-body { padding: 1.8rem 1.6rem; }

.card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CLIENTS TICKER ──────────────────────── */
.clients {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.clients-label { margin-bottom: 1.5rem; }

.ticker-wrap {
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.ticker {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker:hover { animation-play-state: paused; }

.ticker-logo {
  height: 56px;
  min-width: 100px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  mix-blend-mode: darken;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ticker-logo:hover { opacity: 1; }

.ticker-logo-dark { background: #1c1c1e; padding: 6px 12px; border-radius: 6px; }

.ticker-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.25);
  white-space: nowrap;
  transition: color 0.2s;
}
.ticker-text:hover { color: rgba(0,0,0,0.6); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── WORK ────────────────────────────────── */
.work {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.work-card:hover { border-color: rgba(0,0,0,0.18); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.work-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e8e7e5;
  position: relative;
  overflow: hidden;
}
.work-img:empty::after {
  content: 'Photo coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.2);
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.work-card:hover .work-img img { transform: scale(1.03); }

.work-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-img-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.work-card:hover .work-img-pair img { transform: scale(1.03); }

.work-info { padding: 1.4rem 1.5rem 1.6rem; }

.work-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.work-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.work-info p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CONTACT ─────────────────────────────── */
.contact { padding: 7rem 0; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.contact-left .label { margin-bottom: 1rem; }

.contact-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.contact-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }

.contact-info a,
.contact-info div { display: flex; flex-direction: column; gap: 0.25rem; }

.ci-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info a span:last-child,
.contact-info div span:last-child {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.5);
  transition: color 0.2s;
}
.contact-info a:hover span:last-child { color: var(--accent); }

/* ── FORM ────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 0.72rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(0,0,0,0.25); }
input:focus, textarea:focus { border-color: rgba(124,92,46,0.4); }

.form button {
  margin-top: 0.4rem;
  align-self: flex-start;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.78rem 1.6rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.form button:hover { opacity: 0.8; transform: translateY(-1px); }

/* ── FOOTER ──────────────────────────────── */
footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap  { grid-template-columns: 1fr; gap: 3rem; }
  .work-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .work-grid     { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .form          { padding: 1.5rem; }
  nav            { padding: 1rem 1.25rem; }
}
