/* Color and layout tokens. Change these first when rebranding the site. */
/* Shared components, page layouts, responsive rules, and motion live below. */

/* thevisualsco final stylesheet
   1. Tokens and reset
   2. Shared header, buttons, and footer
   3. Home, work, service, and FAQ sections
   4. About, contact, career, and article pages
   5. Responsive and reduced-motion rules
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --page: 1037px;
  --bg: oklch(99% .003 255);
  --ink: oklch(17% .006 255);
  --muted: oklch(48% .012 255);
  --muted2: oklch(63% .01 255);
  --line: oklch(89% .007 255);
  --soft: oklch(97% .004 255);
  --blue: oklch(61% .22 255);
  --night: oklch(17% .006 255);
  --night-line: oklch(28% .008 255);
  --violet: oklch(55% .28 285);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--page), calc(100% - 148px));
  margin-inline: auto;
}

/* Header */
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.07em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
}

.nav a {
  transition: color .2s var(--ease);
}

.nav a:hover,
.nav a[aria-current=page] {
  color: var(--blue);
}

.nav-cta {
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 10px 20px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 84px 0 126px;
  background-image: radial-gradient(circle, oklch(93% .005 255) 1.5px, transparent 1.8px);
  background-size: 24px 24px;
  background-position: 0 24px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  font-size: 20px;
  line-height: 1.3;
}

.hero h1 {
  margin: 36px 0 0;
  max-width: 710px;
  font-size: clamp(58px, 6.6vw, 96px);
  line-height: .98;
  letter-spacing: -.085em;
  font-weight: 500;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
  opacity: 0;
  filter: blur(13px);
  transform: translateY(24px);
  transition: opacity .85s var(--ease), filter .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--i) * 100ms);
}

.hero-title.ready .line {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 142px;
}

.primary-button,
.outline-button {
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  font-size: 16px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.primary-button {
  background: var(--blue);
  color: var(--bg);
  font-weight: 600;
}

.outline-button {
  background: transparent;
}

.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.outline-button:hover {
  background: var(--blue);
  color: var(--bg);
}

.hero-links {
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.circle-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 14px;
}

.hero-media {
  margin-top: 80px;
  aspect-ratio: 1.95/1;
  overflow: hidden;
}

.hero-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Intro */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  padding: 116px 0 108px;
}

.intro h2 {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: -.07em;
  font-weight: 400;
}

.intro p {
  max-width: 58ch;
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.45;
}

.stats {
  display: flex;
  gap: 48px;
  margin-top: 26px;
}

.stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.08em;
  font-weight: 500;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.about-proof {
  display: flex;
  align-items: center;
  gap: 54px;
  margin: 0 0 40px;
}

.hubspot {
  font-size: 34px;
  font-weight: 700;
  color: oklch(43% .04 230);
  letter-spacing: -.08em;
}

.hubspot b {
  color: oklch(68% .18 45);
}

.clutch {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.06em;
}

.clutch small {
  display: block;
  font-size: 11px;
  letter-spacing: 0;
}

/* Logo wall */
.logo-wall {
  padding: 0 0 116px;
  overflow: hidden;
}

.logo-window {
  overflow: hidden;
  background: var(--soft);
}

.ticker {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  min-width: max-content;
}

.ticker-row .ticker-track {
  animation: to-right 30s linear infinite;
}

.ticker-row.reverse .ticker-track {
  animation: to-left 30s linear infinite;
}

.ticker-row + .ticker-row {
  border-top: 1px solid var(--bg);
}

.logo-chip {
  width: 142px;
  height: 78px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--bg);
  color: oklch(37% .02 255);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.logo-chip:nth-child(3n) {
  font-size: 15px;
  letter-spacing: .04em;
}

.logo-chip:nth-child(4n) {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: italic;
}

@keyframes to-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes to-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Work section */
.work-section {
  padding: 0 0 128px;
}

.section-head {
  margin-bottom: 66px;
}

.section-head .section-label {
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 82px 29px;
}

.work-card[hidden] {
  display: none !important;
}

.work-image {
  aspect-ratio: 1.23/1;
  overflow: hidden;
  background: var(--soft);
}

.work-image video,
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease);
}

.work-card:hover video,
.work-card:hover img {
  transform: scale(1.035);
}

.work-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 20px;
}

.work-title {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.work-type {
  margin-top: 14px;
  font-size: 20px;
  color: var(--ink);
}

.work-year {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}

.work-year:before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--ink);
}

.load-more {
  display: block;
  margin: 36px auto 0;
}

/* Services (dark section) */
.dark-section {
  background: var(--night);
  color: oklch(97% .004 255);
  padding: 66px 0 122px;
}

.service-title {
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--night-line);
}

.service-card {
  min-height: 380px;
  padding: 48px 50px 42px;
  border-right: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.service-card:nth-child(2n) {
  border-right: 0;
}

.service-card:nth-last-child(-n+2) {
  border-bottom: 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 62px;
  color: oklch(96% .004 255);
}

.service-card h3 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 400;
}

.service-card p {
  max-width: 46ch;
  margin: 0;
  color: oklch(93% .004 255);
  font-size: 16px;
  line-height: 1.45;
}

/* Feedback */
.feedback-section {
  background: var(--night);
  color: oklch(97% .004 255);
  padding: 0 0 118px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 58px;
}

.feedback-kicker {
  padding-top: 5px;
}

.quote-box {
  position: relative;
}

.quote-mark {
  position: absolute;
  left: -104px;
  top: -12px;
  color: var(--violet);
  font-size: 120px;
  line-height: .7;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.quote-text {
  max-width: 690px;
  margin: 0;
  font-size: 31px;
  line-height: 1.42;
  letter-spacing: -.055em;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
}

.quote-person img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 50%;
  filter: saturate(.8);
}

.quote-person strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.quote-person span {
  font-size: 14px;
}

.quote-nav {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  margin-top: 6px;
  font-size: 38px;
  line-height: 1;
}

.quote-nav button {
  border: 0;
  background: transparent;
  color: var(--bg);
  font-size: 38px;
}

/* FAQ */
.faq-section {
  padding: 78px 0 124px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 29px 0;
}

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

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 21px;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

details[open] summary:after {
  content: '—';
}

details p {
  max-width: 64ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: oklch(96% .004 255);
  padding: 88px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
}

.footer-kicker {
  color: oklch(73% .01 255);
  font-size: 14px;
}

.footer-mail {
  display: block;
  margin-top: 18px;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -.08em;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 54px;
  max-width: 640px;
}

.footer-columns h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.footer-columns p {
  margin: 0;
  color: oklch(70% .012 255);
  font-size: 14px;
}

.footer-social {
  display: grid;
  align-content: start;
  gap: 18px;
  font-size: 14px;
}

.footer-social a {
  color: oklch(83% .008 255);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
}

.footer-bottom strong {
  font-size: 22px;
  letter-spacing: -.05em;
}

.footer-bottom small {
  color: oklch(70% .012 255);
}

/* Page layouts */
.page-head {
  padding: 84px 0 72px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 98px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.page-head p {
  margin: 22px 0 0;
  color: var(--muted);
}

.gallery {
  padding-bottom: 128px;
}

.project-head {
  padding: 74px 0 78px;
}

.project-head h1 {
  margin: 0 0 26px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.project-head p {
  margin: 0;
  font-size: 20px;
}

.project-hero {
  aspect-ratio: 1.95/1;
  overflow: hidden;
}

.project-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}

.project-meta span {
  color: var(--muted);
}

.project-overview {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
  padding: 54px 0 126px;
}

.overview-label {
  font-size: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.overview-label:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  margin-top: 8px;
}

.project-copy {
  max-width: 820px;
}

.project-copy p {
  margin: 0 0 44px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.project-copy strong {
  color: var(--ink);
}

.project-copy img {
  width: 100%;
  aspect-ratio: 1.44/1;
  object-fit: cover;
  margin: 32px 0;
}

/* About page */
.about-hero {
  padding: 72px 0 104px;
}

.about-hero h1 {
  margin: 0 0 42px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.about-hero-image {
  aspect-ratio: 1.9/1;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  padding: 0 0 112px;
}

.about-split h2 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -.06em;
  font-weight: 400;
}

.about-split p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.values-section {
  background: var(--night);
  color: oklch(96% .004 255);
  padding: 68px 0 108px;
}

.values-section h2 {
  margin: 18px 0 62px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.08em;
  font-weight: 400;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 90px;
}

.value-grid h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}

.value-grid p {
  margin: 0;
  color: oklch(72% .01 255);
  font-size: 14px;
  max-width: 44ch;
}

.team-section {
  padding: 104px 0 128px;
}

.team-section h2 {
  margin: 18px 0 50px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.08em;
  font-weight: 400;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: saturate(.82);
}

.team-member h3 {
  margin: 14px 0 3px;
  font-size: 16px;
  font-weight: 500;
}

.team-member p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.jobs {
  width: 650px;
  max-width: 100%;
  margin: 108px auto 0;
}

.jobs h2 {
  text-align: center;
  margin: 0 0 30px;
  font-size: 46px;
  letter-spacing: -.08em;
  font-weight: 400;
}

.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--soft);
  border-bottom: 8px solid var(--bg);
}

.job h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
}

.job p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.job .primary-button {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 12px;
}

/* Contact page */
.contact-page {
  padding: 70px 0 116px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-page h1 {
  margin: 20px 0 60px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.contact-info {
  display: grid;
  gap: 38px;
}

.contact-info h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
}

.contact-info p {
  margin: 0;
  color: var(--muted);
}

.form-shell {
  background: var(--soft);
  padding: 26px;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  padding: 6px;
  margin-bottom: 28px;
}

.form-tab {
  border: 0;
  background: transparent;
  min-height: 42px;
  font-size: 14px;
}

.form-tab.is-active {
  background: var(--blue);
  color: var(--bg);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 14px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid oklch(30% .01 255);
  border-radius: 6px;
  background: oklch(100% 0 0);
  padding: 13px 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px oklch(61% .22 255 / .18);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

/* Service page */
.service-page {
  padding: 76px 0 128px;
}

.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-bottom: 96px;
}

.service-intro h1 {
  margin: 0;
  font-size: clamp(58px, 6.4vw, 94px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.service-intro p {
  align-self: end;
  color: var(--muted);
  max-width: 48ch;
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.05em;
  font-weight: 400;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.service-num {
  color: var(--blue);
}

/* Blog page */
.blog-page {
  padding-bottom: 128px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.blog-card .tag {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 16px 0;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -.07em;
  font-weight: 400;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

/* Reveal & toast */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  transform: translateY(120%);
  opacity: 0;
  background: var(--night);
  color: var(--bg);
  padding: 15px 18px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive â€” tablet & mobile */
@media (max-width: 800px) {
  :root {
    --page: 620px;
  }

  .container {
    width: min(620px, calc(100% - 40px));
  }

  .site-header {
    height: 76px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 10px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero {
    padding: 58px 0 82px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 74px);
  }

  .hero-actions {
    margin-top: 90px;
  }

  .hero-media {
    margin-top: 52px;
    aspect-ratio: 1.25/1;
  }

  .intro,
  .feedback-layout,
  .faq-layout,
  .contact-layout,
  .about-split,
  .service-intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro {
    padding: 82px 0;
  }

  .about-proof {
    margin-top: 30px;
  }

  .logo-wall {
    padding-bottom: 82px;
  }

  .logo-chip {
    width: 112px;
    height: 62px;
  }

  .work-section,
  .gallery,
  .team-section,
  .blog-page {
    padding-bottom: 88px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .work-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .work-title {
    font-size: 22px;
  }

  .work-type {
    font-size: 18px;
  }

  .dark-section {
    padding: 62px 0 86px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0 !important;
    min-height: 330px;
  }

  .service-card:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--night-line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .feedback-section {
    padding-bottom: 76px;
  }

  .quote-mark {
    left: -10px;
    top: -20px;
  }

  .quote-text {
    font-size: 27px;
  }

  .quote-box {
    padding-top: 52px;
  }

  .faq-section {
    padding: 74px 0 90px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-social {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
    margin-top: 54px;
  }

  .page-head {
    padding: 60px 0 44px;
  }

  .project-head {
    padding: 54px 0 42px;
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    font-size: 17px;
  }

  .project-meta .outline-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .project-overview {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 86px;
  }

  .project-copy p {
    font-size: 18px;
  }

  .about-hero {
    padding: 50px 0 64px;
  }

  .about-hero-image {
    aspect-ratio: 1.2/1;
  }

  .values-section {
    padding: 70px 0 84px;
  }

  .values-section h2,
  .team-section h2 {
    font-size: 44px;
  }

  .value-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }

  .jobs {
    margin-top: 78px;
  }

  .jobs h2 {
    font-size: 40px;
  }

  .contact-page {
    padding: 44px 0 84px;
  }

  .contact-page h1 {
    margin-bottom: 46px;
  }

  .service-page {
    padding: 52px 0 88px;
  }

  .service-intro {
    padding-bottom: 64px;
  }

  .service-detail {
    grid-template-columns: 38px 1fr;
    gap: 16px;
  }

  .service-detail h2,
  .service-detail p {
    grid-column: 2;
  }
}

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

  .hero-title .line {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Final-page additions: careers, contact state, blog cards, article pages, and related articles. */
.careers-page {
  padding: 84px 0 128px;
  text-align: center;
}

.careers-page h1 {
  margin: 26px 0 42px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.career-list {
  width: min(640px, 100%);
  margin: auto;
  display: grid;
  gap: 30px;
  text-align: left;
}

.career-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 30px;
  background: var(--soft);
}

.career-item h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 400;
}

.career-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.career-item .primary-button {
  white-space: nowrap;
}

.careers-link {
  display: inline-flex;
  margin-top: 48px;
}

.contact-panel {
  background: var(--soft);
  padding: 26px;
}

.booking-state,
.message-state {
  background: var(--bg);
  padding: 28px 16px;
  min-height: 560px;
}

.booking-line {
  height: 1px;
  background: var(--line);
  margin: 0 0 28px;
}

.booking-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
}

.booking-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: oklch(64% .24 290);
  display: block;
}

.booking-state p {
  max-width: 34ch;
  color: var(--muted);
  margin: 24px 0 34px;
}

.booking-state .primary-button {
  display: inline-flex;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.6/1;
  object-fit: cover;
  margin-bottom: 22px;
  transition: transform .6s var(--ease);
}

.blog-card a {
  display: block;
}

.blog-card a:hover img {
  transform: scale(1.035);
}

.blog-card .tag {
  display: block;
}

.blog-card h2 {
  margin: 14px 0 12px;
}

.read-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-size: 14px;
}

.article-page {
  padding: 78px 0 96px;
}

.article-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.article-page h1 {
  max-width: 900px;
  margin: 32px 0 48px;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.09em;
  font-weight: 400;
}

.article-hero {
  width: 100%;
  aspect-ratio: 1.95/1;
  object-fit: cover;
  margin-bottom: 48px;
}

.article-copy {
  max-width: 720px;
  margin-inline: auto;
}

.article-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.article-copy h2 {
  margin: 38px 0 12px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.05em;
  font-weight: 500;
}

.related-section {
  padding: 0 0 128px;
}

.related-section > .section-label {
  margin-bottom: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-card {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1.6/1;
  object-fit: cover;
  margin-bottom: 16px;
}

.related-card span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.related-card strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  font-size: 16px;
}

@media (max-width: 800px) {
  .careers-page {
    padding: 60px 0 88px;
  }

  .career-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .career-item .primary-button {
    align-self: flex-start;
  }

  .booking-state,
  .message-state {
    min-height: 0;
  }

  .article-page {
    padding: 54px 0 80px;
  }

  .article-kicker {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .article-page h1 {
    margin: 24px 0 34px;
  }

  .article-copy p {
    font-size: 17px;
  }

  .related-section {
    padding-bottom: 88px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

/* Final layout tuning: use the screenshot's wider canvas and keep the hero above the fold. */
:root {
  --page: 1280px;
}

.container {
  width: min(var(--page), calc(100% - 56px));
}

.hero {
  padding: 64px 0 82px;
}

.hero-title .line {
  transition-duration: 1s;
  transition-delay: calc(var(--i) * 40ms);
}

.hero-actions {
  margin-top: 72px;
}

.hero-media {
  margin-top: 56px;
}

.quote-box {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.quote-text {
  min-height: 176px;
}

.quote-nav {
  margin-top: auto;
  padding-top: 22px;
}

.booking-schedule {
  border-top: 1px solid var(--line);
  margin: 26px 0 28px;
  padding-top: 22px;
}

.booking-label {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-dates,
.booking-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.booking-date,
.booking-time {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.booking-date {
  display: grid;
  gap: 1px;
  min-width: 70px;
}

.booking-date strong {
  font-size: 18px;
  line-height: 1;
}

.booking-date:hover,
.booking-time:hover,
.booking-date.is-selected,
.booking-time.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--bg);
}

@media (max-width: 800px) {
  .container {
    width: min(620px, calc(100% - 40px));
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero-actions {
    margin-top: 80px;
  }

  .quote-box {
    min-height: 0;
  }

  .quote-text {
    min-height: 0;
  }

  .quote-nav {
    margin-top: 24px;
  }
}

/* Final motion and gutter tuning. Change these tokens to edit the feel later. */
:root {
  --page: 1280px;
  --gutter: 16px;
}

.container {
  width: min(var(--page), calc(100% - (var(--gutter) * 2)));
}

.hero-title .line {
  display: block;
  white-space: nowrap;
  opacity: 1;
  filter: none;
  transform: none;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 22px, 0);
  transition: opacity .85s var(--ease), filter .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--i) * 230ms);
}

.hero-title.ready .word {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 800px) {
  :root {
    --gutter: 20px;
  }

  .container {
    width: min(620px, calc(100% - (var(--gutter) * 2)));
  }

  .hero-title .line {
    white-space: normal;
  }
}

/* Responsive final pass: minimum desktop edge gap, tablet breathing room, and phone-safe stacking. */
:root {
  --gutter: 8px;
}

.container {
  width: min(var(--page), calc(100% - (var(--gutter) * 2)));
}

@media (min-width: 801px) {
  .site-header,
  .container {
    width: min(var(--page), calc(100% - 16px));
  }

  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .work-grid {
    gap-left: 24px;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  :root {
    --gutter: 24px;
  }

  .container {
    width: min(960px, calc(100% - 48px));
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 78px);
  }

  .service-card {
    padding: 36px 32px;
    min-height: 340px;
  }

  .project-meta {
    font-size: 17px;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: 20px;
  }

  .container {
    width: min(620px, calc(100% - 40px));
  }

  .site-header {
    width: min(620px, calc(100% - 40px));
  }

  .nav {
    font-size: 15px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero-links {
    margin-left: 0;
  }

  .hero-media {
    aspect-ratio: 1.28/1;
  }

  .intro,
  .about-split,
  .contact-layout,
  .service-intro,
  .faq-layout,
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .work-grid,
  .blog-grid,
  .team-grid,
  .value-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0 !important;
    min-height: 0;
    padding: 36px 28px;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
    font-size: 16px;
  }

  .project-meta .outline-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .project-overview {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.video-embed{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#ece9e2}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.logo-chip img,.about-proof img{display:block;max-width:100%;max-height:56px;width:auto;height:auto;object-fit:contain}.about-proof img{max-height:42px}


/* Header width fix: the navigation bar now spans the full viewport on every page. */
.site-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(24px, 4vw, 64px);
  box-sizing: border-box;
}
.site-header.container {
  width: 100%;
  max-width: none;
}
.site-header .nav {
  margin-left: auto;
}
.site-header .logo {
  flex-shrink: 0;
}

/* Preview media used throughout the sample package. Replace these assets later. */
.preview-media,
.preview-media img,
.preview-media video {
  width: 100%;
  display: block;
}
.preview-media {
  overflow: hidden;
  background: #17181d;
  aspect-ratio: 16 / 9;
}
.preview-media img,
.preview-media video {
  height: 100%;
  object-fit: cover;
}
.work-image,
.project-hero,
.article-hero,
.about-hero-image {
  overflow: hidden;
}
.work-image img,
.project-hero img,
.article-hero,
.about-hero-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.work-image img { aspect-ratio: 16 / 10; }
.project-hero img { aspect-ratio: 16 / 9; }
.article-hero { aspect-ratio: 16 / 9; }

@media (max-width: 760px) {
  .site-header,
  .site-header.container { padding-inline: 20px; }
}


/* Project case-study media: hero video plus relevant supporting images. */
.project-video { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; background:#17181d; }
.project-detail-media { margin: 2.5rem 0; }
.project-detail-media img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.project-detail-media figcaption { margin-top:.75rem; font-size:.85rem; opacity:.7; }


.work-image{aspect-ratio:16/10;overflow:hidden;background:#17181d}.work-thumbnail{display:block;width:100%;height:100%;object-fit:cover}


/* Final layout lock for work thumbnails. Images fill a fixed card window and never set its dimensions. */
.work-grid .work-card { min-width: 0; }
.work-grid .work-card .work-image {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(240px, 32vw, 520px);
  aspect-ratio: auto;
  overflow: hidden;
  background: #17181d;
}
.work-grid .work-card .work-image > img.work-thumbnail {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.work-grid .work-card .work-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.work-grid .work-card .work-year { white-space: nowrap; }

/* Case-study media is scoped to its own detail page, not the gallery cards. */
.project-hero .project-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.project-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 700px) {
  .work-grid .work-card .work-image { height: 64vw; min-height: 220px; max-height: 360px; }
  .work-grid .work-card .work-meta { min-height: 72px; }
}


/* Stable two-column gallery and fixed media windows. Images never determine layout size. */
:root { --site-gutter: clamp(24px, 4vw, 64px); }
.container { width: min(100% - (var(--site-gutter) * 2), 1440px); margin-inline: auto; }
.site-header, .site-header.container { width: 100%; max-width: none; margin-inline: 0; padding-inline: var(--site-gutter); box-sizing: border-box; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); row-gap: clamp(40px, 5vw, 80px); }
.work-grid .work-card { min-width: 0; display: block; }
.work-grid .work-card .work-image { width: 100%; height: clamp(240px, 34vw, 520px); aspect-ratio: auto; overflow: hidden; background: #17181d; }
.work-grid .work-card .work-thumbnail { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }
.work-grid .work-card .work-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 16px; min-height: 74px; }
.work-grid .work-card .work-title, .work-grid .work-card .work-year { font-weight: 700; }
.work-grid .work-card .work-type { font-weight: 600; opacity: .82; margin-top: 7px; }
.work-grid .work-card .work-year { white-space: nowrap; }
.work-section.reveal, .gallery.reveal { opacity: 1; transform: none; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; row-gap: 48px; } .work-grid .work-card .work-image { height: clamp(220px, 62vw, 420px); } }

/* Header alignment only: keep the full-width header, align its contents to the page gutter. */
.site-header,
.site-header.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(var(--site-gutter), calc((100vw - 1440px) / 2));
  padding-right: max(var(--site-gutter), calc((100vw - 1440px) / 2));
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .site-header,
  .site-header.container {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }
}

/* Typography consistency: keep every page and component on the site's Inter stack. */
html,
body,
button,
input,
textarea,
select {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}


/* Related article carousel: fixed three-card footprint with in-place page swap. */
.related-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.related-nav{display:flex;gap:12px}.related-nav button{width:44px;height:44px;border:1px solid currentColor;background:transparent;border-radius:50%;font-size:28px;line-height:1}.related-grid{min-height:330px}.related-card img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover}.related-card{min-width:0}.related-card strong{display:block;margin-top:10px}.related-card span{display:block;margin-top:14px}


.related-grid { min-height: 330px; }
.related-grid .related-card { min-width: 0; }
.related-nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) { .related-grid { min-height: 0; } }


/* ===== Portfolio video embeds + fallbacks (portfolio.js) =====
   Scoped to the project hero. MP4 heroes keep their original styling. */
.project-hero.is-embed {
  position: relative;
  aspect-ratio: var(--video-ratio, 16 / 9);
  height: auto;
  background: #17181d;
}
.project-hero.is-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.project-hero.is-embed .embed-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.project-hero.is-loaded .embed-poster { visibility: hidden; }
.project-hero.is-fallback { position: relative; background: #17181d; }
.project-hero.is-fallback .video-fallback-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.project-hero .video-fallback-link {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(23, 24, 29, .78);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.project-hero .video-fallback-link:hover { background: #17181d; }
.work-thumbnail.is-placeholder { object-fit: cover; }
@media (max-width: 760px) {
  .project-hero .video-fallback-link { left: 12px; bottom: 12px; font-size: 13px; padding: 8px 14px; }
}



/* Sticky footer: footer always sits at the bottom of the window, even on short
   pages or when zoomed out. Applies to every page (all work pages use this file). */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }

/* Local (file://) preview of a YouTube project: centered play button on the cover. */
.project-hero.is-local-preview { aspect-ratio: var(--video-ratio, 16/9); }
.project-hero.is-local-preview .video-fallback-link {
  left: 50%; bottom: 50%; transform: translate(-50%, 50%);
  padding: 14px 26px; font-size: 16px;
}
@media (max-width: 760px) {
  .project-hero.is-local-preview .video-fallback-link { left: 50%; bottom: 50%; }
}


/* ================= Live booking card ================= */
.booking-date small {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7;
}

.booking-time {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 86px;
}

.booking-time small {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.booking-date:disabled,
.booking-time:disabled {
  cursor: not-allowed;
  background: var(--soft);
  border-color: var(--line);
  color: var(--muted2);
}

.booking-time.is-booked {
  text-decoration: line-through;
  text-decoration-color: var(--muted2);
}

.booking-time.is-booked small {
  text-decoration: none;
}

.booking-tz {
  margin-left: 6px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted2);
}

.booking-state .booking-note,
.booking-note {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.booking-details {
  display: grid;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.booking-selected {
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--muted);
}

.booking-selected.is-set {
  color: var(--blue);
}

.booking-details .primary-button {
  justify-self: start;
  margin-top: 8px;
}

.booking-details .primary-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.booking-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.booking-status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.booking-status[data-tone="error"] {
  color: oklch(55% .2 25);
}

.booking-confirmed {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-top: 8px;
}

.booking-confirmed[hidden],
[data-booking-picker][hidden],
[data-booking-meet][hidden] {
  display: none;
}

.booking-check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--bg);
  font-size: 24px;
  animation: booking-pop .5s var(--ease);
}

.booking-confirmed h3 {
  font-size: 28px;
  margin: 0;
}

.booking-confirmed-when {
  font-size: 18px;
  font-weight: 600;
}

.booking-again {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes booking-pop {
  from { transform: scale(.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}