@font-face { font-family: "Outfit"; font-weight: 500 800; font-display: swap; src: url("fonts/outfit.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400 600; font-display: swap; src: url("fonts/source-sans-3.woff2") format("woff2"); }

:root {
  --orange: #f7a82f;
  --orange-soft: #fde9c8;
  --ochre: #b07a1e;
  --ochre-dark: #82560f;
  --ink: #1f1b16;
  --ink-soft: #4a4238;
  --cream: #fff8ee;
  --white: #ffffff;
  --line: #eadfcd;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.nowrap { white-space: nowrap; }

.eyebrow {
  font: 700 .8rem/1 "Outfit", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: .85em 1.4em;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font: 700 1rem/1 "Outfit", sans-serif;
  text-decoration: none;
  border: 2px solid var(--orange);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: #ffb845; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font: 500 1rem "Outfit", sans-serif; }
.nav a:not(.btn):hover { color: var(--ochre-dark); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.heart { color: var(--ochre); }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; }
.hero-img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--orange);
}

/* Mission */
.mission { background: var(--ink); color: var(--cream); padding: 88px 0; text-align: center; }
.mission .eyebrow { color: var(--orange); }
.slogan { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--orange); font-weight: 800; }
.mission-lead { font-size: 1.25rem; max-width: 36em; margin: 0 auto 3rem; opacity: .9; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.pillars article {
  background: #2a251e; border-radius: var(--radius); padding: 28px;
  border-top: 4px solid var(--orange);
}
.pillars p { margin: 0; opacity: .85; }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--orange); color: var(--ink);
  font: 800 1rem "Outfit", sans-serif;
}
.mission-note { margin: 2.5rem 0 0; font: 600 1.15rem "Outfit", sans-serif; color: var(--orange); }

/* Sections */
.section { padding: 88px 0; }
.services { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.services svg {
  width: 44px; height: 44px; padding: 9px; margin-bottom: 14px;
  border-radius: 12px; background: var(--orange-soft);
  fill: none; stroke: var(--ochre-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.services p { margin: 0; color: var(--ink-soft); }

/* Integration */
.integration { background: var(--orange-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b16' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.note { color: var(--ink-soft); }
.callout { background: var(--white); border-radius: var(--radius); padding: 24px; margin-top: 1.5rem; border-left: 5px solid var(--ochre); }
.callout .btn { margin-top: .25rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.projects figure { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.projects figcaption { padding: 16px 20px 20px; color: var(--ink-soft); }
.projects figcaption strong { display: block; color: var(--ink); font: 700 1.1rem "Outfit", sans-serif; margin-bottom: 2px; }

/* Team */
.team-section { padding-top: 0; }
.team { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--orange); margin-bottom: 16px; }
.team li { text-align: center; }
.team h3 { margin-bottom: .2em; }
.team p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Contact */
.contact { background: var(--ink); color: var(--cream); padding: 88px 0; }
.contact .eyebrow { color: var(--orange); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #3a332a; font-size: 1.15rem; }
.contact-list span { width: 80px; flex-shrink: 0; color: var(--orange); font: 600 .95rem/1.9 "Outfit", sans-serif; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange); }

/* Footer */
.site-footer { background: #15120e; color: #b9ad9b; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.footer-inner p { margin: 0; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { max-width: 460px; }
  .services, .projects { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 16px; text-align: center; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 1.12rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .section, .mission, .contact { padding: 64px 0; }
  .services, .projects { grid-template-columns: 1fr; }
  .team { gap: 20px 16px; }
  .hero-img img { box-shadow: 8px 8px 0 var(--orange); }
}

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 1.2em; }
.back { display: inline-block; margin-bottom: 2rem; color: var(--ochre-dark); font: 600 1rem "Outfit", sans-serif; text-decoration: none; }
.back:hover { text-decoration: underline; }
.todo { background: var(--orange-soft); outline: 1px dashed var(--ochre); padding: 0 .2em; border-radius: 3px; }
