/* Mint Condition Media: styles
   Type: Instrument Serif (headlines), Montserrat (brand, navigation, buttons, small headings), Inter (text)
   Color: white and black lead; lime is reserved for primary actions on dark */

@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --black: #000000;
  --gray: #55584f;            /* secondary text on white, 7.4:1 */
  --rule: #dcded8;            /* dividers and outlines on white */
  --fog: #f1f2ee;             /* quiet panels on white */
  --lime: #d7f27b;
  --on-dark-muted: rgba(255, 255, 255, 0.76);
  --on-dark-rule: rgba(255, 255, 255, 0.2);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 11vw, 168px);
  --max: 1440px;
  --radius-img: 6px;
  --radius-panel: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 1.0625rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.section-title {
  font: 400 clamp(2.4rem, 5vw, 4.25rem)/1.04 var(--font-display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}
.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
  height: var(--header-h);
  padding: 0 var(--gutter);
  color: var(--white);
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.site-header[data-state="solid"] {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 0 var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}
.brand__seal { width: 40px; height: 40px; border-radius: 50%; }
/* The seal is black on white; over photos it is inverted and screened so only the white linework shows */
.site-header[data-state="over-hero"] .brand__seal,
.brand--footer .brand__seal { filter: invert(1); mix-blend-mode: screen; }
.site-header[data-state="solid"] .brand__seal { mix-blend-mode: multiply; }
.brand__name { font: 500 clamp(0.875rem, 3.4vw, 1rem)/1 var(--font-ui); letter-spacing: 0.01em; white-space: nowrap; }
/* On very narrow phones the seal (which spells out the name) stands alone */
@media (max-width: 350px) { .site-header .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.nav { display: none; gap: 32px; }
.nav a { padding: 10px 0; font: 500 0.9375rem/1 var(--font-ui); text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.header__cta { display: none; }
.site-header[data-state="over-hero"] .header__cta { background: var(--lime); color: var(--black); }
.site-header[data-state="solid"] .header__cta { background: var(--black); color: var(--white); }
.site-header[data-state="solid"] .header__cta:hover { background: #2a2b28; }

.menu-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 500 0.9375rem/1 var(--font-ui);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--gutter) 40px;
  background: var(--white);
  color: var(--black);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font: 400 2.5rem/1.15 var(--font-display);
  letter-spacing: -0.005em;
  text-decoration: none;
}
.mobile-menu__contact { color: var(--gray); line-height: 1.9; }
.mobile-menu__contact a { color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__frame { position: absolute; inset: 0; z-index: -1; }
.hero__frame::after {
  /* keeps the headline legible over any part of the photo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.35) 100%);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; }
/* Narrow screens show only a slice of the photo, so center it on the shop owner */
@media (max-width: 719px) {
  .hero__img { object-position: 78% 30%; }
  .hero__frame::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.15) 75%, rgba(0, 0, 0, 0.3) 100%); }
}

.hero__content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 7vw, 88px);
}
.hero__title {
  font: 400 clamp(3.5rem, 10.5vw, 10rem)/0.94 var(--font-display);
  letter-spacing: -0.005em;
}
.hero__lede {
  max-width: 44ch;
  margin-top: clamp(20px, 2.5vw, 32px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The opening sequence: a hexagonal aperture widens to reveal the photo, then the words arrive */
@keyframes iris {
  from {
    clip-path: polygon(
      calc(50% + 5vmax) 50%, calc(50% + 2.5vmax) calc(50% + 4.33vmax), calc(50% - 2.5vmax) calc(50% + 4.33vmax),
      calc(50% - 5vmax) 50%, calc(50% - 2.5vmax) calc(50% - 4.33vmax), calc(50% + 2.5vmax) calc(50% - 4.33vmax));
  }
  to {
    clip-path: polygon(
      calc(50% + 104vmax) calc(50% + 60vmax), 50% calc(50% + 120vmax), calc(50% - 104vmax) calc(50% + 60vmax),
      calc(50% - 104vmax) calc(50% - 60vmax), 50% calc(50% - 120vmax), calc(50% + 104vmax) calc(50% - 60vmax));
  }
}
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__frame {
    clip-path: polygon(
      calc(50% + 5vmax) 50%, calc(50% + 2.5vmax) calc(50% + 4.33vmax), calc(50% - 2.5vmax) calc(50% + 4.33vmax),
      calc(50% - 5vmax) 50%, calc(50% - 2.5vmax) calc(50% - 4.33vmax), calc(50% + 2.5vmax) calc(50% - 4.33vmax));
  }
  .js .hero__content > * { opacity: 0; }
  .js .hero.is-ready .hero__frame { animation: iris 1.6s cubic-bezier(0.7, 0, 0.18, 1) 0.15s forwards; }
  .js .hero.is-ready .hero__img { animation: settle 2.2s var(--ease) 0.15s both; }
  .js .hero.is-ready .hero__content > * { animation: arrive 0.9s var(--ease) forwards; }
  .js .hero.is-ready .hero__title { animation-delay: 1.05s; }
  .js .hero.is-ready .hero__lede { animation-delay: 1.2s; }
  .js .hero.is-ready .hero__actions { animation-delay: 1.32s; }
}

/* ---------- Intro ---------- */
.intro {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.intro__text { display: grid; gap: 28px; align-content: start; }
.intro__lead {
  max-width: 24ch;
  font: 400 clamp(1.9rem, 3.6vw, 3.25rem)/1.12 var(--font-display);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.intro__text > p:not(.intro__lead) { max-width: 52ch; color: var(--gray); font-size: 1.125rem; }
.intro__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); }

/* ---------- Human first ---------- */
.human {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section);
}
.human__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 36% 50%;
  border-radius: var(--radius-img);
}
.human__body { display: grid; gap: 32px; align-content: start; }
.human__lead { max-width: 46ch; font-size: 1.25rem; line-height: 1.55; }
.principles { display: grid; gap: 28px; }
.principle h3 { margin-bottom: 6px; font: 600 1.0625rem/1.3 var(--font-ui); }
.principle p { max-width: 52ch; color: var(--gray); }

/* ---------- Funnel: five stages, read as one journey ---------- */
.funnel { background: var(--fog); padding: var(--section) var(--gutter); }
.funnel > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.funnel__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.funnel__head p { max-width: 46ch; color: var(--gray); font-size: 1.125rem; }

.stages { border-top: 1px solid var(--black); }
.stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}
.stage__num { grid-row: 1 / span 3; font: italic 400 2.5rem/1 var(--font-display); }
.stage__name { font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.08 var(--font-display); letter-spacing: -0.005em; }
.stage__desc { max-width: 46ch; color: var(--gray); }
.stage__svc { font: 500 0.875rem/1.5 var(--font-ui); }
.stage__svc a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.35); }
.stage__svc a:hover { text-decoration-color: currentColor; }

.services__head, .work__head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.work__head p { max-width: 46ch; color: var(--gray); font-size: 1.125rem; }

/* ---------- Services (dark) ---------- */
.services {
  background: var(--black);
  color: var(--white);
  padding: var(--section) var(--gutter);
}
.services > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.services__head p { max-width: 46ch; color: var(--on-dark-muted); font-size: 1.125rem; }

.svc-list { border-top: 1px solid var(--on-dark-rule); }
.svc { border-bottom: 1px solid var(--on-dark-rule); }
.svc__heading { font: inherit; }
.svc__toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.svc__name {
  font: 400 clamp(1.75rem, 3.6vw, 3.25rem)/1.08 var(--font-display);
  letter-spacing: -0.005em;
  transition: color 180ms ease;
}
.svc__hint { grid-column: 1; color: var(--on-dark-muted); font-size: 1rem; }
.svc__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--on-dark-rule);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.svc__icon::before, .svc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}
.svc__icon::after { transform: rotate(90deg); }
.svc__toggle:hover .svc__name { color: var(--lime); }
.svc__toggle:hover .svc__icon { border-color: var(--white); }
.svc.is-open .svc__icon { background: var(--lime); border-color: var(--lime); color: var(--black); }
.svc.is-open .svc__icon::after { transform: rotate(0deg); }

/* Height animates from 0 to auto with the grid-rows technique */
.svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms var(--ease);
}
.svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__inner { min-height: 0; overflow: hidden; display: grid; gap: 28px; }
.svc.is-open .svc__inner { padding-bottom: 36px; }
.svc__copy { display: grid; gap: 20px; align-content: start; }
.svc__copy p { max-width: 48ch; font-size: 1.125rem; color: var(--on-dark-muted); }
.svc__copy ul { display: grid; gap: 10px; }
.svc__copy li { padding-left: 18px; position: relative; }
.svc__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.svc__inner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-img); }
.svc__inner .svc__img--tall { object-position: 50% 35%; }

/* ---------- Clients ---------- */
.work {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.clients { display: grid; gap: 48px 24px; }
.client { display: grid; gap: 6px; align-content: start; }
.client__logo {
  position: relative;
  aspect-ratio: 3 / 2;
  margin-bottom: 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  background: var(--white);
  overflow: hidden;
}
.client__logo img {
  position: absolute;
  inset: 14% 18%;
  width: 64%;
  height: 72%;
  object-fit: contain;
}
/* Logos whose files already include generous clear space need less of ours */
.client__logo .client__logo-img--spaced { inset: 4% 6%; width: 88%; height: 92%; }
.client h3 { font: 600 1.125rem/1.3 var(--font-ui); }
.client__place { color: var(--gray); font-size: 0.9375rem; }
.client__services { max-width: 44ch; margin-top: 4px; }

/* ---------- Process ---------- */
.process {
  background: var(--fog);
  padding: var(--section) var(--gutter);
}
.process > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.process .section-title { margin-bottom: clamp(40px, 5vw, 64px); }
.steps { display: grid; gap: 40px 32px; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--black); }
.step__num { font: italic 400 3rem/1 var(--font-display); }
.step h3 { margin-top: 8px; font: 600 1.1875rem/1.3 var(--font-ui); }
.step p { max-width: 40ch; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.faq__head { display: grid; gap: 16px; align-content: start; }
.faq__head p { max-width: 34ch; color: var(--gray); }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  font: 500 1.1875rem/1.35 var(--font-text);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 250ms var(--ease);
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.faq__item p { max-width: 62ch; padding: 0 0 26px; color: var(--gray); }

/* ---------- Contact + footer ---------- */
.contact {
  position: relative;
  padding: var(--section) var(--gutter) 32px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; z-index: -1; background: var(--black); }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.contact > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.contact__main { display: grid; gap: 56px; }
.contact__pitch { display: grid; gap: 24px; align-content: start; }
.contact__title {
  font: 400 clamp(3.25rem, 9vw, 8.5rem)/0.96 var(--font-display);
  letter-spacing: -0.005em;
}
.contact__pitch > p:not(.contact__lines) { max-width: 44ch; font-size: 1.125rem; color: rgba(255, 255, 255, 0.86); }
.contact__lines { display: grid; gap: 6px; margin-top: 8px; }
.contact__email {
  font: 400 clamp(1.5rem, 3.4vw, 2.75rem)/1.2 var(--font-display);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.contact__phone { font-size: 1.25rem; }
.contact__lines span { color: rgba(255, 255, 255, 0.76); }
.contact__lines a { text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; }

.newsletter h3 { margin-bottom: 14px; font: 600 1.0625rem/1.3 var(--font-ui); }
/* Hostinger Reach renders its own form in an iframe here */
.newsletter__form { min-height: 48px; border-radius: var(--radius-panel); overflow: hidden; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-rule);
}
.brand--footer { margin-right: 0; }
.footer-bar__social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bar__social a { padding: 10px 0; text-decoration: none; }
.footer-bar__social a:hover { text-decoration: underline; }
.footer-bar__legal { width: 100%; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 720px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc__copy ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .intro { grid-template-columns: 7fr 5fr; column-gap: clamp(48px, 7vw, 120px); align-items: end; }

  .human { grid-template-columns: 5fr 6fr; column-gap: clamp(48px, 7vw, 120px); }
  .human__media { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }

  .services__head, .work__head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .funnel__head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .stage {
    grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: baseline;
    padding: 32px 0;
  }
  .stage__num { grid-row: auto; }

  .svc__toggle { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; padding: 30px 0; }
  .svc__hint { grid-column: 2; }
  .svc__icon { grid-column: 3; grid-row: 1; }
  .svc__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 48px; }

  .clients { grid-template-columns: repeat(6, 1fr); column-gap: 28px; }
  .client { grid-column: span 2; }

  .steps { grid-template-columns: repeat(4, 1fr); }

  .faq { grid-template-columns: 4fr 8fr; column-gap: clamp(48px, 7vw, 120px); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }

  .contact__main { grid-template-columns: 7fr 5fr; column-gap: clamp(48px, 7vw, 120px); align-items: end; }
  .footer-bar__social { margin-left: auto; }
}

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