/* ---------- Self-hosted Inter (variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter-Latin.woff2') format('woff2-variations'),
       url('fonts/Inter-Latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --c-bg: #ffffff;
  --c-soft: #f3f3f1;
  --c-ink: #111111;
  --c-body: #4a4a4a;
  --c-muted: #6b6b6b;
  --c-line: #e6e4df;
  --c-accent: #f5b916;
  --c-accent-ink: #111111;
  --c-dark: #0c0c0c;
  --radius: 10px;
  --max: 1180px;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--c-body); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--c-accent); color: var(--c-accent-ink);
}
.btn-primary:hover { background: #e2a90b; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.85);
}
.btn-ghost:hover { background: #fff; color: var(--c-ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-weight: 800; font-size: 19px; letter-spacing: -.01em;
}
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: 14.5px; color: var(--c-ink); font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--c-muted); }
.nav-cta { padding: 12px 22px; font-size: 13.5px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--c-ink); display: block; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background-color: #1a1a1a;
  background-image: image-set(url('images/hero.webp') type('image/webp'), url('images/hero.jpg') type('image/jpeg'));
  background-image: -webkit-image-set(url('images/hero.webp') type('image/webp'), url('images/hero.jpg') type('image/jpeg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 460px;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  z-index: -1;
}
.hero-content {
  text-align: center; padding: 110px 24px;
}
.hero-content h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700; margin-bottom: 18px;
}
.hero-content p {
  color: #ececec; font-size: 15px; margin-bottom: 32px;
}

/* ---------- Section heads & two-col ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 700;
}
.section-head p { color: var(--c-muted); }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 90px 24px;
}
.two-col.reverse > div:first-child { order: 1; }

/* ---------- Commitment ---------- */
.commitment { background: linear-gradient(180deg, #ffffff 0%, #f6f5f2 100%); }
.commitment-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 4px; box-shadow: var(--shadow);
}
.commitment-copy h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.commitment-copy h3 {
  margin-top: 28px; font-size: 17px; font-weight: 600;
}
.bullets {
  list-style: none; padding: 0; margin: 0 0 30px;
}
.bullets li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  color: var(--c-body); font-size: 15px;
}
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink);
}

/* ---------- Services ---------- */
.services { padding: 90px 0; background: #fff; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.18);
  border-color: #d9d6cf;
}
.service-icon {
  width: 44px; height: 44px; color: var(--c-ink);
  display: grid; place-items: center; margin-bottom: 22px;
  border-radius: 8px; background: var(--c-soft);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 17px; font-weight: 600; }
.service-card p { font-size: 14.5px; color: var(--c-muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { padding: 90px 0; background: #fff; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-grid figure {
  margin: 0; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 3; background: #eee;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }

/* ---------- Excellence ---------- */
.excellence { background: #fff; }
.excellence-copy h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.excellence-image img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: 4px; box-shadow: var(--shadow);
}

/* ---------- Why us ---------- */
.why-us { background: linear-gradient(180deg, #f6f5f2 0%, #ffffff 100%); }
.why-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 4px; box-shadow: var(--shadow);
}
.why-copy h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; margin-bottom: 30px; }
.features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}
.features li {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px;
  align-items: start;
}
.features h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.features p { font-size: 14px; margin: 0; color: var(--c-muted); }
.check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-ink);
  display: grid; place-items: center; margin-top: 2px;
}
.check svg { width: 14px; height: 14px; }

/* ---------- Page head (blog) ---------- */
.page-head {
  background: linear-gradient(180deg, #f6f5f2 0%, #ffffff 100%);
  padding: 80px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}
.page-head .eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 600; color: var(--c-accent);
  margin-bottom: 14px;
}
.page-head h1 {
  font-size: clamp(34px, 4.5vw, 50px); font-weight: 700;
  margin-bottom: 14px;
}
.page-head .lead {
  color: var(--c-muted); max-width: 620px; margin: 0 auto;
  font-size: 16px;
}

/* ---------- Blog list ---------- */
.blog-list { padding: 80px 0 100px; background: #fff; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.post-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.18);
  border-color: #d9d6cf;
}
.post-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 10; overflow: hidden; background: #eee;
}
.post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-accent); color: var(--c-ink);
  font-size: 11.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  letter-spacing: .02em;
}
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-size: 12.5px; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.post-body h2 { font-size: 19px; line-height: 1.3; font-weight: 700; margin-bottom: 10px; }
.post-body h2 a { color: var(--c-ink); }
.post-body h2 a:hover { color: var(--c-muted); }
.post-body p { font-size: 14.5px; color: var(--c-muted); margin: 0 0 18px; flex: 1; }
.read-more {
  align-self: flex-start;
  font-size: 13.5px; font-weight: 600; color: var(--c-ink);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid var(--c-accent);
  padding-bottom: 2px;
  transition: gap .2s ease, color .2s ease;
}
.read-more:hover { gap: 10px; color: #000; }

/* ---------- Email help page ---------- */
.help-body { padding: 72px 0 100px; background: #fff; }
.help-narrow { max-width: 720px; }
.help-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700; margin-bottom: 24px;
}
.help-steps {
  padding-left: 22px; margin: 0 0 32px;
  color: var(--c-body);
}
.help-steps li { margin-bottom: 14px; line-height: 1.6; }
.help-steps a {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-underline-offset: 3px;
}
.help-steps a:hover { color: #000; }
.help-note {
  margin: 0 0 36px;
  padding: 16px 20px;
  background: var(--c-soft);
  border-left: 3px solid var(--c-accent);
  border-radius: 4px;
  color: var(--c-body);
  font-size: 15px;
}
.help-note a { color: var(--c-ink); font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; isolation: isolate; color: #fff;
  background-color: #111;
  background-image: image-set(url('images/cta-bg.webp') type('image/webp'), url('images/cta-bg.jpg') type('image/jpeg'));
  background-image: -webkit-image-set(url('images/cta-bg.webp') type('image/webp'), url('images/cta-bg.jpg') type('image/jpeg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.4));
  z-index: -1;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 90px 24px; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: clamp(34px, 4.5vw, 52px); font-weight: 700; margin: 0;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0a; color: #d6d6d6; padding-top: 64px;
}
.site-footer .logo { color: #fff; margin-bottom: 14px; display: block; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: #b8b8b8; max-width: 280px; font-size: 14px; }
.footer-col h5 {
  color: #fff; font-size: 14px; font-weight: 600;
  text-transform: none; margin-bottom: 16px; letter-spacing: 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #c9c9c9; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-line {
  display: flex; align-items: flex-start; gap: 12px; color: #c9c9c9; font-size: 14px;
  margin-bottom: 18px;
}
.footer-icon {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%; display: grid; place-items: center;
  background: #1a1a1a; color: var(--c-accent);
}
.footer-icon svg { width: 14px; height: 14px; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #1a1a1a; display: grid; place-items: center;
  color: #fff; transition: background .2s ease;
}
.socials a:hover { background: var(--c-accent); color: #111; }
.socials a:not([href]) {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}
.socials svg { width: 14px; height: 14px; }
.footer-base {
  border-top: 1px solid #1f1f1f; padding: 22px 0;
  text-align: center; color: #8a8a8a; font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 22px 24px;
    border-bottom: 1px solid var(--c-line);
  }
  .two-col { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .two-col.reverse > div:first-child { order: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-head { padding: 60px 0 40px; }
  .blog-list { padding: 56px 0 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { padding: 64px 24px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 80px 24px; }
}
