@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #1b1d21;
  --charcoal-2: #25282e;
  --steel: #8a9199;
  --steel-light: #c9ced4;
  --ember: #e8702a;
  --ember-light: #f2a25a;
  --ember-dark: #b04e17;
  --ember-deeper: #913e11;
  --paper: #f5f4f1;
  --white: #ffffff;
  --text: #22252a;
  --muted: #5d636c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ember-dark); color: var(--white); }
:focus-visible { outline: 3px solid var(--ember-dark); outline-offset: 3px; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-dark);
  margin-bottom: 0.75rem;
}

.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-intro { color: var(--muted); max-width: 640px; font-size: 1.1rem; margin-bottom: 2.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember-dark); color: var(--white); }
.btn-primary:hover { background: var(--ember-deeper); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; background: var(--charcoal-2); color: var(--white); }
.btn-small:hover { background: var(--ember-dark); }
.btn-short { display: none; }

.text-link { font-weight: 700; color: var(--ember-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand img { border-radius: 8px; }
.logo-img { background: var(--white); border-radius: 10px; object-fit: contain; flex-shrink: 0; }

.work-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(326px, 100%), 1fr)); justify-items: center; }
.work-grid .instagram-media { margin: 0 !important; width: 100% !important; max-width: 540px !important; min-width: 0 !important; }
.work-grid .instagram-media:not(.instagram-media-rendered) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--charcoal) 0%, #2d3138 100%);
  border-top: 4px solid var(--ember);
  box-shadow: var(--shadow);
  text-align: center;
}
.work-grid .instagram-media:not(.instagram-media-rendered) a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.work-grid .instagram-media:not(.instagram-media-rendered) a:hover { color: var(--ember-light); text-decoration: underline; }
.brand small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-light); }

.nav { display: flex; gap: 1.75rem; margin-left: auto; margin-right: 1rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.9; }
.nav a:hover { color: var(--ember); opacity: 1; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(27, 29, 33, 0.96) 0%, rgba(27, 29, 33, 0.78) 55%, rgba(27, 29, 33, 0.55) 100%),
    repeating-linear-gradient(90deg, #2f333a 0 2px, transparent 2px 72px),
    var(--charcoal);
  padding: clamp(5rem, 14vw, 9rem) 0 clamp(4.5rem, 10vw, 7rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ember), var(--ember-light) 60%, transparent);
}
.hero-inner { max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--ember-light); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--steel-light); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Cards */
.grid.services { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-top-color: var(--ember); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fbeee4;
  color: var(--ember-dark);
  margin-bottom: 1.25rem;
}
.card-accent { background: var(--charcoal); color: var(--white); }
.card-accent p { color: var(--steel-light); }
.card-accent .card-icon { background: rgba(232, 112, 42, 0.18); color: var(--ember-light); }
.card-accent .text-link { color: var(--ember-light); }

/* Process */
.section-dark { background: var(--charcoal-2); color: var(--white); }
.section-dark .eyebrow { color: var(--ember-light); }
.section-dark p { color: var(--steel-light); }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: none; }
.steps li { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.5rem; }
.step-num { display: block; font-size: 2.6rem; font-weight: 800; color: rgba(232, 112, 42, 0.9); line-height: 1; margin-bottom: 0.6rem; }

/* About */
.about { display: grid; gap: 3rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
.about p { color: var(--muted); font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.facts li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
}
.facts strong { font-size: 1.1rem; }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.section-cta { background: linear-gradient(135deg, var(--charcoal) 0%, #2d3138 100%); color: var(--white); }
.section-cta .eyebrow { color: var(--ember-light); }
.section-cta p { color: var(--steel-light); }
.contact { display: grid; gap: 3rem; grid-template-columns: 1.3fr 1fr; align-items: start; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.contact-details {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.5rem;
}
.contact-details dt { color: var(--steel-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; align-self: center; }
.contact-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-details a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact-details a:hover { color: var(--ember-light); border-color: var(--ember-light); }

/* Footer */
.site-footer { background: #111316; color: var(--steel); padding: 2.5rem 0; font-size: 0.95rem; }
.footer-inner { display: grid; gap: 0.75rem; justify-items: start; }
.brand-footer { color: var(--white); }
.copy { font-size: 0.85rem; margin: 0; opacity: 0.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; }
.footer-links a { color: var(--steel-light); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--ember-light); }

/* Not found */
.not-found { text-align: center; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }
.not-found-note { color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .about, .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .btn-full { display: none; }
  .btn-short { display: inline; }
  .hero-actions .btn, .contact-buttons .btn { width: 100%; }
  .contact-details { grid-template-columns: 1fr; gap: 0.25rem; }
  .contact-details dt { margin-top: 0.75rem; }
  .contact-details dt:first-child { margin-top: 0; }
}

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