/* FinkCan Enterprise — light marketing site */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #1b1c2e;
  --muted: #5c6178;
  --cream: #f6f3ee;
  --paper: #fffcf8;
  --white: #ffffff;
  --line: rgba(27, 28, 46, 0.12);
  --grad: linear-gradient(115deg, #0369a1 0%, #5b21b6 100%);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 110px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.15rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.65rem;
  margin-bottom: 0.45rem;
}

p {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: #ddd6fe;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid #5b21b6;
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 5.5rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.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;
}

.kicker {
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4c3b9b;
}

.lede,
.prose {
  color: var(--muted);
  font-size: 1.125rem;
}

.lede {
  max-width: 38rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.accent-bar {
  height: 2px;
  background: linear-gradient(90deg, #0ea5ff, #7c3aed);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 270px;
  height: auto;
  transition: transform 0.18s ease;
}

.header-inner .brand-logo {
  max-width: calc(100vw - 8.5rem);
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-height: calc(100dvh - var(--header-h));
  padding: 1.25rem 1.35rem 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
}

.site-nav ul a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.35rem;
  font-family: var(--serif);
  border-bottom: 1px solid var(--line);
}

.site-nav a[aria-current="page"] {
  background-image: linear-gradient(90deg, #0ea5ff, #7c3aed);
  background-repeat: no-repeat;
  background-size: 2.25rem 2px;
  background-position: 0 100%;
}

.site-nav .btn {
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(91, 33, 182, 0.24);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27, 28, 46, 0.28);
}

.btn-secondary:hover {
  border-color: var(--navy);
}

.btn-sm {
  min-height: 42px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(247, 244, 239, 0.94) 0%, rgba(247, 244, 239, 0.84) 34%, rgba(247, 244, 239, 0.35) 62%, rgba(247, 244, 239, 0.05) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  max-width: 40rem;
}

.hero h1 {
  max-width: 11ch;
}

.section {
  padding: 5.5rem 0;
}

.marked {
  position: relative;
  overflow: hidden;
}

.marked > .container,
.marked > .wrap {
  position: relative;
  z-index: 1;
}

.marked::before {
  content: attr(data-letter);
  position: absolute;
  z-index: 0;
  top: -0.18em;
  left: max(-0.06em, calc(50% - 640px));
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(8.5rem, 20vw, 16rem);
  line-height: 0.8;
  color: rgba(27, 28, 46, 0.06);
  pointer-events: none;
  user-select: none;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(68vw, 520px);
  object-fit: cover;
}

.split .copy p + p {
  margin-top: 1rem;
}

.quiet {
  padding: 0 0 1rem;
}

.quiet-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quiet-grid p {
  margin: 0;
  padding: 1.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid var(--line);
}

.quiet-grid p:last-child {
  border-bottom: 0;
}

.quiet-grid span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiet-grid strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.diff-grid {
  display: grid;
  gap: 2.25rem;
}

.diff h3 {
  font-size: 1.85rem;
}

.diff p {
  color: var(--muted);
  max-width: 36rem;
}

.commitment {
  background: var(--cream);
}

.commitment blockquote {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
}

.commitment blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.commitment cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.people {
  display: grid;
  gap: 1.25rem;
}

.person {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.person .role,
.person a,
.directory p,
.fine {
  color: var(--muted);
}

.person a,
.directory a {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.cta {
  padding: 0 0 5.5rem;
}

.cta-panel {
  padding: 3rem 1.5rem;
  text-align: center;
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    linear-gradient(90deg, #0ea5ff, #7c3aed) border-box;
  border: 1px solid transparent;
}

.cta-panel .lede {
  margin: 0 auto 1.5rem;
}

.page-hero {
  padding: 4.5rem 0 1rem;
}

.page-hero .lede {
  margin-top: 0.25rem;
}

.service {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  gap: 1.25rem;
}

.service ul {
  display: grid;
  gap: 0.85rem;
}

.service li strong {
  display: block;
  font-weight: 600;
}

.service li span {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 5rem;
}

.directory {
  display: grid;
  gap: 0.85rem;
}

.directory article {
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.directory h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4c3b9b;
}

.form-card {
  padding: 1.5rem 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-note {
  margin: 0.35rem 0 1.2rem;
  color: var(--muted);
}

.fields,
.form-row {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.req {
  font-weight: 500;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(27, 28, 46, 0.18);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #be123c;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #1b1c2e 50%),
    linear-gradient(135deg, #1b1c2e 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

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

.form-status {
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  background: #eef6ff;
  border: 1px solid rgba(3, 105, 161, 0.25);
}

.form-card .btn {
  width: 100%;
}

.site-footer {
  background: var(--cream);
  padding: 3.25rem 0 1.5rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, #0ea5ff, #7c3aed) 1;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-label {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4c3b9b;
}

.footer-brand p {
  margin-top: 0.9rem;
  max-width: 22rem;
  color: var(--muted);
}

.footer a {
  display: inline-block;
  padding: 0.15rem 0;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer li + li {
  margin-top: 0.35rem;
}

.footer li span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.contact-list a {
  display: block;
}

.contact-list > li + li {
  margin-top: 0.85rem;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.missing {
  padding: 4rem 0 6rem;
}

.missing p {
  max-width: 36rem;
  color: var(--muted);
  margin: 0.5rem 0 1.5rem;
}

@media (min-width: 720px) {
  .quiet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiet-grid p {
    padding: 1.35rem 1rem;
    border-bottom: 0;
  }

  .quiet-grid p + p {
    border-left: 1px solid var(--line);
  }

  .diff-grid,
  .people,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 1.5fr;
    gap: 2rem;
  }

  .form-card,
  .cta-panel {
    padding: 2.5rem 2.25rem;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    position: static;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
  }

  .site-nav ul a {
    padding: 0.2rem 0 0.35rem;
    font-family: var(--sans);
    font-size: 0.98rem;
    border: 0;
  }

  .site-nav a[aria-current="page"] {
    background-size: 100% 2px;
  }

  .site-nav .btn {
    margin-top: 0;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
  }

  .split.flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.flip .copy {
    order: -1;
  }

  .split img {
    height: 460px;
  }

  .service-grid,
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }

  .section {
    padding: 6.5rem 0;
  }
}

@media (max-width: 899px) {
  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(247, 244, 239, 0.94) 0%, rgba(247, 244, 239, 0.86) 58%, rgba(247, 244, 239, 0.55) 100%);
  }

  .hero-inner {
    padding: 6.25rem 0 3.25rem;
  }

  .hero h1 {
    max-width: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .btn,
  .hero-photo,
  .hero-scrim {
    display: none;
  }

  body {
    background: #fff;
  }
}
