:root {
  --bg: #FCFBF8;
  --bg-alt: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --brand: #EE6A2C;
  --brand-ink: #C24E22;
  --border: #ECEAE3;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --space: clamp(3rem, 8vw, 6rem);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 1rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--space) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__lead { color: var(--text-muted); max-width: 46ch; margin: 0 auto 2.5rem; text-align: center; }
.section__title { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.btn--primary { background: var(--brand-ink); color: #fff; }
.btn--primary:hover { background: #a23e1b; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header__logo img { height: 36px; width: auto; }
.nav__menu { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; align-items: center; }
.nav__menu a { font-family: var(--font-head); font-weight: 500; color: var(--text); }
.nav__menu a:hover { color: var(--brand-ink); }
.nav__cta { color: #fff !important; background: var(--brand-ink); padding: .5rem 1rem; border-radius: var(--radius-sm); }
.nav__cta:hover { background: #a23e1b; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: .25rem; }
.nav-toggle:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; }
  .nav__menu {
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: .5rem 1.25rem 1rem;
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease, visibility 0s .25s;
  }
  .nav__menu.is-open { max-height: 320px; visibility: visible; transition: max-height .25s ease; }
  .nav__menu li { padding: .35rem 0; }
  .nav__cta { display: inline-block; text-align: center; }
}

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 12vw, 8rem) 0; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--brand-ink); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin: 0 0 1.25rem; }
.hero__accent { color: var(--brand); }
.hero__sub { color: var(--text-muted); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 2rem; }
.hero__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.work__grid { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tile { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); transition: transform .15s ease, box-shadow .15s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,26,26,.08); }
.tile:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.tile__thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #f3efe6, #e9e4d8); }
.tile__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile__play { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; padding-left: 3px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.tile:hover .tile__thumb img { transform: scale(1.05); }
.tile__caption { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; font-family: var(--font-head); font-weight: 500; padding: .85rem 1rem; }
.tile__meta { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--text-muted); }
.work__more { text-align: center; }

.services__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: #fbe9df; color: var(--brand-ink); margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .98rem; }

.about__inner { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1fr; align-items: center; }
.about__text p { color: var(--text-muted); font-size: 1.08rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__stat { text-align: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; }
.about__stat-num { display: block; font-family: var(--font-head); font-weight: 600; font-size: 3.25rem; color: var(--brand); line-height: 1; }
.about__stat-label { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 760px) { .about__inner { grid-template-columns: 1fr; } }

.contact { position: relative; overflow: hidden; }
.contact__tail { position: absolute; right: 1.5rem; bottom: -40px; width: clamp(160px, 26vw, 300px); opacity: .08; pointer-events: none; }
.contact__inner { text-align: center; position: relative; z-index: 1; }
.contact__email { margin: 0 auto .5rem; }
.contact__socials { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.social { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 500; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .6rem 1.1rem; transition: color .15s ease, border-color .15s ease; }
.social:hover { color: var(--brand-ink); border-color: var(--brand); }
.social:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }

.site-footer { background: var(--text); color: #d9d6cf; padding: 3rem 0 2rem; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__brand p { margin: .5rem 0 0; color: #b6b2a9; font-size: .9rem; }
.site-footer__nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__nav a { color: #d9d6cf; font-family: var(--font-head); font-weight: 500; }
.site-footer__nav a:hover { color: var(--brand); }
.site-footer__base { padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__base small { color: #9a968e; }
.site-footer__social { display: flex; gap: .75rem; }
.site-footer__social a { display: inline-flex; color: #d9d6cf; }
.site-footer__social a:hover { color: var(--brand); }
