:root {
  --yellow: #fff03e;
  --dark: #383838;
  --black: #111;
  --white: #fff;
  --muted: #555;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 120px; }
.logo img { height: 100px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 0; font: inherit; font-size: 1.6rem; cursor: pointer; padding: 8px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-header .wrap { height: 96px; }
  .logo img { height: 78px; }
  .nav { display: none; position: absolute; top: 96px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid #eee; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.15rem; }
  .nav .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn.dark { background: var(--black); color: var(--yellow); }

/* Sections */
section { padding: clamp(56px, 9vw, 120px) 0; }
.dark { background: var(--dark); color: var(--white); }
.bright { background: var(--yellow); }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--dark) center / cover no-repeat;
}
.hero { overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 55%); }
@media (orientation: portrait) { .slide img { object-position: 50% 50%; } }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.hero .wrap { z-index: 2; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.35); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}
.slide-nav:hover, .slide-nav:focus-visible { background: var(--yellow); color: var(--black); }
.slide-nav.prev { left: 16px; }
.slide-nav.next { right: 16px; }
.dots { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; }
.dots button[aria-current] { background: var(--yellow); border-color: var(--yellow); }
@media (max-width: 640px) { .slide-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.hero .wrap { position: relative; }
.hero h1 { max-width: 22ch; margin: 0 auto; }

.photo-bg { position: relative; background: var(--dark) center / cover no-repeat; color: var(--white); text-align: center; }
.photo-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.photo-bg .wrap { position: relative; }
.photo-bg h2 { max-width: 28ch; margin: 0 auto 1.2em; }

/* Alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 100px); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.feature.reverse .feature-img { order: 2; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-img { order: 0; }
}

/* Logo strip */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.logos img { height: 90px; width: 130px; object-fit: contain; }
.center { text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid .side { position: sticky; top: 120px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.mv h3 { letter-spacing: .08em; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px; justify-content: center; margin-top: 64px; text-align: center; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 16px; }
.team h4 { margin: 0; font-size: 1.05rem; }
.team span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .about-grid, .mv { grid-template-columns: 1fr; }
  .about-grid .side { position: static; max-width: 260px; }
}
@media (max-width: 480px) { .team { grid-template-columns: 1fr; max-width: 240px; margin-left: auto; margin-right: auto; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
.service { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 18px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.service img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service div { padding: 28px; }
.service h3 { border-left: 5px solid var(--yellow); padding-left: 12px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Projects */
.project { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 48px 0; border-top: 1px solid #e5e5e5; }
.project:first-child { border-top: 0; padding-top: 0; }
.project .client-logo { width: 140px; height: 100px; object-fit: contain; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.gallery:has(> img:only-child) { grid-template-columns: minmax(0, 620px); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
@media (max-width: 640px) {
  .project { grid-template-columns: 1fr; }
  .project .client-logo { width: 110px; height: 70px; }
}

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 100%; object-fit: contain; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.contact-info h4 { margin: 1.6em 0 .2em; font-size: 1rem; }
.contact-info p { margin: 0; }
.contact-info a { text-decoration: none; word-break: break-word; }
.contact-info a:hover { text-decoration: underline; }
form label { display: block; font-weight: 500; font-size: .9rem; margin: 18px 0 6px; }
form input, form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; background: var(--white); }
form input:focus, form textarea:focus { outline: 3px solid var(--yellow); border-color: var(--black); }
form textarea { min-height: 150px; resize: vertical; }
form .btn { margin-top: 24px; }
.hidden { display: none; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--black); color: #ddd; padding: 56px 0 32px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--yellow); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .bottom { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #999; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
