/* Artivora Creative — site styles
   Palette taken from the logo: copper → espresso "A", rose / blush / mauve wordmark. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --espresso: #1C110B;       /* darkest tone of the A — text and dark sections */
  --espresso-deep: #140A05;
  --cocoa: #2B1A12;
  --copper: #C87145;         /* top of the A — primary accent */
  --copper-hover: #D88A5A;
  --copper-light: #E8956A;   /* copper on dark backgrounds */
  --rose: #B14F4D;           /* wordmark crimson — numbers and highlights */
  --blush: #F19C97;
  --mauve: #C9A6B7;
  --paper: #FAF5F2;
  --blush-soft: #F7E8E2;
  --white: #FFFFFF;
  --ink: #1C110B;
  --muted: #6B5850;
  --line: #EDE1DB;
  --on-dark: #F6EDE8;
  --on-dark-muted: #C4B1A8;
  --line-dark: rgba(246, 237, 232, 0.14);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius-lg: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }

::selection { background: var(--blush); color: var(--espresso); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.brand-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--espresso); color: var(--white); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.process :focus-visible,
.contact-info :focus-visible,
.tier-featured :focus-visible { outline-color: var(--blush); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--copper); color: var(--espresso); }
.btn-primary:hover { background: var(--copper-hover); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--white); }

.text-link {
  display: inline-block; margin-top: 20px;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--copper);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--rose); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 29px; height: 31px; }
.logo-wordmark { width: auto; height: 17px; }
.logo-img { height: 38px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  display: none; flex-direction: column; gap: 20px;
  padding: 16px var(--gutter) 28px;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(28, 17, 11, .08);
}
.nav-menu.is-open { display: flex; }
.nav-links { display: flex; flex-direction: column; }
.nav-links a {
  display: block; padding: 12px 0; text-decoration: none;
  font-size: 1.25rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-links { flex-direction: row; gap: 28px; }
  .nav-links a {
    padding: 6px 0; border: 0; font-size: .9375rem; font-weight: 500;
    color: var(--muted); transition: color .15s ease;
  }
  .nav-links a:hover { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); color: var(--ink);
  padding: calc(var(--header-h) + clamp(48px, 10vw, 104px)) 0 clamp(40px, 6vw, 72px);
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
}
.hero-art {
  position: absolute; z-index: -1;
  right: -10vw; top: calc(var(--header-h) + 8px);
  width: min(62vw, 320px);
  opacity: .1;
}
.hero-mark { width: 100%; height: auto; }
.hero-inner { position: relative; }

.hero-title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-sub {
  max-width: 54ch; margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-industries {
  margin-top: clamp(48px, 8vw, 88px); padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px;
}
.hero-industries-label { font-size: .9375rem; color: var(--muted); }
.hero-industries ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-industries li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.hero-industries li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }

@media (min-width: 900px) {
  .hero-art {
    right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    top: 50%; transform: translateY(-54%);
    width: min(30vw, 460px);
    opacity: 1;
  }
  .hero-title { max-width: min(12.5ch, calc(100% - min(30vw, 460px) - 40px)); }
  .hero-sub { max-width: min(44ch, calc(100% - min(30vw, 460px) - 48px)); }
}

/* the one orchestrated moment: the A rises into place */
.hero-mark { clip-path: inset(100% 0 0 0); animation: mark-rise 1.1s cubic-bezier(.2, .75, .2, 1) .15s forwards; }
@keyframes mark-rise { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark { animation: none; clip-path: none; }
}

/* ---------- shared section ---------- */
.section { padding-block: var(--section-y); }
.clients, .services, .pricing, .about, .faq { background: var(--paper); }
.work-section, .testimonials { background: var(--white); }
:is(.clients, .services, .pricing, .about, .faq) + :is(.clients, .services, .pricing, .about, .faq),
:is(.work-section, .testimonials) + :is(.work-section, .testimonials) { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2,
.about-text h2,
.faq-grid h2,
.contact-info h2 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  text-wrap: balance;
}
.section-intro { max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 6fr; align-items: end; gap: 48px; }
}

.dot-list { display: grid; gap: 8px; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--copper);
}

/* ---------- clients ---------- */
.clients { padding-block: 48px; }
.clients-title { font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.clients-list { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.clients-list img { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.clients-list span { font-weight: 700; font-size: 1.125rem; color: var(--muted); }
.clients-list a { display: block; text-decoration: none; }

/* ---------- services ---------- */
.service-list { border-bottom: 1px solid var(--line); }
.service { display: grid; gap: 16px; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.service-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.service-body { display: grid; gap: 20px; }
.service-body > p { max-width: 58ch; color: var(--muted); }
@media (min-width: 900px) {
  .service { grid-template-columns: 5fr 6fr; gap: 48px; }
  .service-body .dot-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* ---------- work ---------- */
.work-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.work { display: grid; gap: 28px; align-items: center; }
.work-media {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); display: grid; place-items: center;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media-mark { width: 24%; opacity: .35; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.work-meta span { color: var(--line); }
.work-title { margin-top: 10px; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.work-metric { display: flex; flex-direction: column; margin-top: 24px; }
.work-metric strong { font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--rose); }
.work-metric span { margin-top: 6px; color: var(--muted); }
.work-story { display: grid; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.work-story dt { font-weight: 700; font-size: .9375rem; }
.work-story dd { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) {
  .work { grid-template-columns: 1fr 1fr; gap: 64px; }
  .work:nth-child(even) .work-media { order: 2; }
}

.work-empty {
  display: grid; gap: 24px; justify-items: start;
  padding: clamp(32px, 6vw, 56px); border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.work-empty-mark { width: 52px; height: auto; }
.work-empty p { max-width: 44ch; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }

/* ---------- process ---------- */
.process { background: var(--espresso); color: var(--on-dark); }
.process .section-intro { color: var(--on-dark-muted); }
.steps { display: grid; gap: 32px; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-left: 64px; }
.step-num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--copper); color: var(--espresso); font-weight: 800; font-size: 1.125rem;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 21px; top: 52px; bottom: -28px; width: 2px; background: var(--line-dark);
}
.step h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; padding-top: 8px; }
.step p { color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 68px; }
  .step:not(:last-child)::after { left: 56px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step h3 { padding-top: 0; }
}

/* ---------- pricing ---------- */
.tiers { display: grid; gap: 20px; align-items: start; }
.tier {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.tier .dot-list { margin-block: 8px 12px; }
.tier .btn { margin-top: auto; }
.tier-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.tier-audience { color: var(--muted); margin-top: -8px; }
.tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding-block: 16px; border-block: 1px solid var(--line); }
.tier-price strong { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tier-from, .tier-period { color: var(--muted); font-size: .9375rem; }
.tier-badge {
  align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  background: var(--blush); color: var(--espresso); font-size: .875rem; font-weight: 700;
}
.tier-featured { background: var(--espresso); color: var(--on-dark); border-color: var(--espresso); }
.tier-featured .tier-audience,
.tier-featured .tier-from,
.tier-featured .tier-period { color: var(--on-dark-muted); }
.tier-featured .tier-price { border-color: var(--line-dark); }
.tier-featured .dot-list li::before { background: var(--copper-light); }
.pricing-note { margin-top: 28px; max-width: 70ch; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tier { min-height: 100%; }
  .tier-featured { margin-top: -16px; margin-bottom: 16px; }
}

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 40px; }
.quote { display: grid; gap: 20px; padding-top: 28px; border-top: 2px solid var(--ink); }
.quote blockquote p { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.quote blockquote p::before { content: '\201C'; display: block; font-size: 3.5rem; line-height: .7; font-weight: 800; color: var(--copper); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span { display: grid; line-height: 1.35; }
.quote figcaption span span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); gap: 56px; } }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-text { display: grid; gap: 20px; }
.about-text p { max-width: 58ch; font-size: 1.125rem; color: var(--muted); }
.about-text p:first-of-type { color: var(--ink); }
.about-media {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); display: grid; place-items: center;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-mark { width: 44%; height: auto; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 24px; margin-top: clamp(48px, 7vw, 80px); }
.member { display: grid; gap: 4px; }
.member img, .member-initials { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.member-initials { display: grid; place-items: center; background: var(--blush-soft); color: var(--rose); font-weight: 800; font-size: 1.5rem; }
.member span { color: var(--muted); font-size: .9375rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; } }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: 24px; color: var(--muted); max-width: 62ch; display: grid; gap: 12px; }

/* ---------- contact ---------- */
.contact { background: var(--espresso); color: var(--on-dark); }
.contact-grid { display: grid; gap: 40px; }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info .section-intro { color: var(--on-dark-muted); }
.contact-direct { display: grid; gap: 4px; margin-top: 12px; }
.contact-direct a, .contact-plain {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 0;
  color: var(--on-dark); text-decoration: none; font-weight: 600;
}
.contact-direct a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-direct .icon { color: var(--copper-light); }

.contact-form {
  display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C110B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200, 113, 69, .22);
}
.field.has-error input { border-color: #B42318; }
.form-status { min-height: 1.4em; font-size: .9375rem; color: var(--muted); }
.form-status.is-error { color: #B42318; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 72px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--white); color: var(--muted); padding-block: 56px 40px; font-size: .9375rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.footer-logo { display: block; }
.footer-logo img { width: 112px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-social a { text-decoration: none; color: var(--muted); }
.footer-links a:hover, .footer-social a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 16px; }
.footer-social .icon { width: 22px; height: 22px; }
.footer-copy { padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: end; column-gap: 48px; }
  .footer-copy { grid-column: 1 / -1; }
}

/* ---------- floating WhatsApp (phones) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--copper); color: var(--espresso);
  box-shadow: 0 10px 24px rgba(28, 17, 11, .28);
}
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { display: none; } }
