/* Anson Marketing. Static CSS, no build step. */

:root {
  --slate: #111a21;
  --slate-2: #1a2833;
  --slate-3: #243442;
  --paper: #edf1f2;
  --white: #ffffff;
  --ink: #111a21;
  --ink-2: #44545f;
  --verdigris: #3fb0a6;
  --verdigris-deep: #17635e;
  --yellow: #ffd400;
  --yellow-hover: #ffe24d;
  --text-on-dark: #e9eff2;
  --muted-on-dark: #b3c0c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(17, 26, 33, 0.16);

  --max: 1120px;
  --gut: clamp(20px, 5vw, 40px);
  --angle: clamp(28px, 5vw, 72px);
  --header-h: 72px;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--slate);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-head); margin: 0; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.section--paper :focus-visible,
.section--white :focus-visible,
.form :focus-visible {
  outline-color: var(--verdigris-deep);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--slate);
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--yellow);
  color: var(--slate);
}
.btn--primary:hover { background: var(--yellow-hover); }

.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { border-color: var(--text-on-dark); }

.btn--block { width: 100%; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--slate);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-on-dark);
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav { display: none; }

.nav a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 2px;
}
.nav a:hover { color: var(--white); }

.header-phone {
  color: var(--yellow);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.header-phone:hover { text-decoration: underline; }

/* Hero */

.hero {
  position: relative;
  background: var(--slate);
  color: var(--text-on-dark);
  padding: clamp(28px, 6vw, 72px) 0 calc(var(--angle) + clamp(40px, 7vw, 88px));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--angle);
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--yellow); }

.hero__kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}

.byline { display: flex; align-items: center; gap: 14px; }
.byline__photo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  border: 2px solid var(--verdigris);
}
.byline p { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--muted-on-dark); }
.byline strong { color: var(--white); }

.hero__visual { margin: 0; }
.hero__visual figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--muted-on-dark); }
.frame--hero { border-color: var(--line-dark); margin-bottom: 0; }

.hero__lede {
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
  color: var(--muted-on-dark);
  max-width: 34em;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}


/* Sections */

.section {
  padding: clamp(56px, 9vw, 112px) 0;
}

.section--paper { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--slate); color: var(--text-on-dark); }
.section--slate { background: var(--slate-2); color: var(--text-on-dark); }

.section__title {
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 16em;
}

.section__lede {
  margin-top: calc(clamp(28px, 4vw, 48px) * -0.6);
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--ink-2);
}

.section__note {
  max-width: 38em;
  margin: 40px 0 0;
  color: var(--ink-2);
}

/* Services */

.bundle { display: grid; gap: 12px; }

.pair { display: grid; gap: 12px; }

.panel {
  display: flex;
  flex-direction: column;
  background: var(--slate);
  color: var(--text-on-dark);
  border-radius: 6px;
  overflow: hidden;
}

.panel__visual {
  margin: 0;
  min-height: 440px;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--slate-3);
}
.panel__visual figcaption { font-size: 0.95rem; color: var(--muted-on-dark); text-align: center; }

.frame--panel { width: 100%; margin: 0; border-color: var(--line-dark); }

.adshot {
  width: auto;
  max-width: 100%;
  max-height: 372px;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.panel__body { flex: 1; padding: clamp(22px, 3vw, 32px); }
.panel__body h3 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}
.panel__body p { color: var(--muted-on-dark); max-width: 32em; margin-bottom: 20px; }

.panel__link {
  font-weight: 600;
  color: var(--verdigris);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.panel__link:hover { color: var(--white); }

.panel--bundle { background: var(--verdigris-deep); }
.panel--bundle .panel__body p { color: #d6ece9; }
.panel--bundle .panel__link { color: var(--white); }

.panel__proof {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.panel__result {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.12;
  color: var(--white);
}
.panel__proof .panel__link { align-self: flex-start; }

.bundle__sign {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px auto;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--slate);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}

.text-link {
  font-weight: 600;
  color: var(--verdigris-deep);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--ink); }

/* Process: job ticket */

.ticket {
  --ticket-pad: clamp(20px, 4vw, 40px);
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
}

.ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px var(--ticket-pad);
}

.tear { position: relative; border-bottom: 2px dashed rgba(17, 26, 33, 0.35); }
.tear::before,
.tear::after {
  content: "";
  position: absolute;
  bottom: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate);
}
.tear::before { left: -12px; }
.tear::after { right: -12px; }

.tear__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tear__meta { color: var(--ink-2); font-size: 1rem; white-space: nowrap; }

.ticket__steps {
  list-style: none;
  margin: 0;
  padding: 32px var(--ticket-pad) 36px;
  display: grid;
  gap: 28px;
}

.ticket__step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }

.ticket__box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
}

.ticket__step h3 { font-weight: 700; font-size: 1.6rem; line-height: 1.05; margin-bottom: 6px; }
.ticket__step p { margin: 0; color: var(--ink-2); }

/* Work */

.work--feature { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 80px); }
.work--feature .frame { margin-bottom: 0; }
.work--feature h3 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 10px; }
.work__text p { max-width: 30em; }
.work__result { color: var(--ink) !important; font-size: 1.15rem; }
.work__text .text-link { display: inline-block; margin-top: 8px; }

.work-grid {
  display: grid;
  gap: 40px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.frame {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--slate-2);
  margin-bottom: 18px;
}
.frame:hover .frame__shot { filter: brightness(1.08); }

.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--slate-3);
}
.frame__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.frame__url { margin-left: 10px; font-size: 0.85rem; color: var(--muted-on-dark); }

/* Screenshots are about 2:1. Taller shots (1.6:1) use the tall variant so no edges are cut. */
.frame__shot {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, var(--slate-2) 0 60%, var(--slate-3) 60% 100%);
  transition: filter 0.2s;
}
.frame__shot--tall { aspect-ratio: 16 / 10; }

.frame__name {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  padding: 16px;
}

.frame__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work h3 { font-weight: 700; font-size: 1.75rem; line-height: 1.05; margin-bottom: 6px; }
.work p { color: var(--ink-2); margin: 0 0 1em; max-width: 32em; }

/* About */

.about { display: grid; gap: 40px; align-items: start; }

.about__photo { position: relative; margin: 0; max-width: 300px; }
.about__photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--verdigris);
  border-radius: 4px;
}
.about__photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--slate-3);
}

.about__body { max-width: 36em; }
.about__body p { color: var(--muted-on-dark); }
.about__body p:first-child { color: var(--white); font-size: 1.25rem; }

.facts {
  margin: 32px 0 32px;
  max-width: 36em;
  border-top: 1px solid var(--line-dark);
}
.facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}
.facts dt { color: var(--muted-on-dark); font-size: 1rem; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--text-on-dark); }
.facts a { color: var(--text-on-dark); text-underline-offset: 3px; text-decoration-color: var(--verdigris); }
.facts a:hover { color: var(--yellow); }

/* FAQ */

.faq__list { max-width: 44em; border-top: 1px solid var(--line-light); }

.faq details { border-bottom: 1px solid var(--line-light); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--verdigris-deep);
}
.faq details[open] summary::after { content: "\2212"; }

.faq details p { color: var(--ink-2); max-width: 36em; padding-bottom: 8px; margin-bottom: 20px; }

/* Contact */

.contact { position: relative; padding-top: calc(var(--angle) + clamp(40px, 7vw, 88px)); }

.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: var(--angle);
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.contact__grid { display: grid; gap: 48px; align-items: start; }
.contact__grid > * { min-width: 0; }

.contact__lede { color: var(--muted-on-dark); max-width: 28em; }

.contact__list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact__list li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}
.contact__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact__list span { font-size: 0.95rem; color: var(--muted-on-dark); }
.contact__list a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 5.6vw, 1.6rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
  color: var(--white);
}
.contact__list a:hover { color: var(--yellow); }

/* Form */

.form {
  --form-pad: clamp(20px, 4vw, 36px);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: var(--form-pad);
}

.form__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: calc(var(--form-pad) * -1) calc(var(--form-pad) * -1) 28px;
  padding: 20px var(--form-pad);
}

.form__grid { display: grid; gap: 18px; margin-bottom: 22px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--ink-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #8a99a3;
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--verdigris-deep);
  outline: 3px solid rgba(23, 99, 94, 0.25);
  outline-offset: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; }
.form__status.is-ok { color: var(--verdigris-deep); }
.form__status.is-error { color: #a32020; }

.form__fine { font-size: 0.95rem; color: var(--ink-2); margin: 6px 0 0; }
.form__fine a { color: var(--ink-2); }

/* Footer */

.site-footer {
  background: var(--slate);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: 40px 0 48px;
  font-size: 1rem;
}
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--text-on-dark); text-underline-offset: 3px; }

.footer__grid { display: grid; gap: 28px; }
.footer__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__address { color: var(--muted-on-dark); }

/* Mobile action bar */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--slate);
  border-top: 1px solid var(--line-dark);
}

.mobile-bar .btn { padding: 12px 8px; white-space: nowrap; }

/* Privacy page */

.doc { background: var(--paper); color: var(--ink); padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 9vw, 104px); }
.doc h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.doc h2 { font-weight: 700; font-size: 1.75rem; line-height: 1.1; margin: 36px 0 10px; }
.doc__body { max-width: 40em; }
.doc__body a { color: var(--verdigris-deep); text-underline-offset: 3px; }
.doc__meta { color: var(--ink-2); }

/* Wider screens */

@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .ticket__steps { grid-template-columns: 1fr 1fr; gap: 36px 56px; }
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav { display: flex; gap: 26px; }
  .footer__grid { grid-template-columns: 1.4fr 1.2fr 1fr; }
  .about { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
  .about__photo { max-width: none; }
}

@media (min-width: 900px) {
  .pair { grid-template-columns: 1fr auto 1fr; }
  .pair .bundle__sign { margin: 0 -28px; align-self: center; }
  .panel--bundle { display: grid; grid-template-columns: 1.15fr 1fr; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .work--feature { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 72px; }
}

@media (max-width: 759px) {
  :root { --header-h: 58px; }
  .header-phone { display: none; }
  .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
}

@media (max-width: 479px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .tear__title { font-size: 1.5rem; }
  .tear__meta { font-size: 0.9rem; white-space: normal; text-align: right; }
}

/* Hero animation: light tracing the frame and a soft sweep across the screen */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.orbit {
  position: relative;
  padding: 2px 2px clamp(10px, 1.4vw, 16px) clamp(10px, 1.4vw, 16px);
  border-radius: 8px;
  background: conic-gradient(from var(--spin), rgba(63, 176, 166, 0.25) 0deg, transparent 60deg, transparent 180deg, rgba(63, 176, 166, 0.25) 200deg, var(--verdigris) 290deg, var(--yellow) 350deg, rgba(63, 176, 166, 0.25) 360deg);
  animation: spin 6s linear infinite;
  box-shadow: 0 0 40px rgba(63, 176, 166, 0.18);
}
.orbit .frame { border: 0; border-radius: 6px; background: var(--slate-2); margin: 0; }

@keyframes spin { to { --spin: 360deg; } }

.frame__sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sweep 5s ease-in-out 1.5s infinite;
}
@keyframes sweep {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit, .frame__sweep { animation: none; }
  .frame__sweep { display: none; }
}

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