:root {
  --ink: #121212;
  --muted: #606060;
  --line: #d9d7d2;
  --paper: #f5f3ef;
  --white: #ffffff;
  --red: #ee2d2d;
  --red-dark: #bd2020;
  --footer: #161616;
  --shell: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { border-color: #e7e7e7; box-shadow: 0 10px 30px rgba(0,0,0,.045); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 214px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 700; }
.primary-nav > a, .nav-dropdown > button { position: relative; padding: 32px 0 29px; border: 0; background: transparent; color: #292929; }
.primary-nav > a::after, .nav-dropdown > button::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 23px; background: var(--red); transition: right .22s ease; }
.primary-nav > a:hover::after, .primary-nav > a.active::after, .nav-dropdown > button:hover::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown > button span { margin-left: 4px; }
.dropdown-panel { position: absolute; right: 0; top: calc(100% - 12px); min-width: 288px; padding: 12px; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 20px 45px rgba(0,0,0,.11); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; padding: 11px 13px; font-size: 13px; }
.dropdown-panel a:hover { background: var(--paper); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #151515; transition: .22s ease; }

.hero { padding-top: 62px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .88fr); align-items: center; gap: 76px; }
.hero h1 { max-width: 720px; margin: 12px 0 26px; font-size: clamp(48px, 5.3vw, 78px); line-height: .98; letter-spacing: -4.2px; }
.lead { max-width: 665px; margin: 0; color: #4f4f4f; font-size: 18px; line-height: 1.75; }
.eyebrow { margin: 0; color: var(--red); font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: 2.1px; text-transform: uppercase; }
.media-frame { margin: 0; overflow: hidden; background: #dedede; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media { aspect-ratio: 641 / 664; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.split-grid > .media-frame { aspect-ratio: 562 / 480; }
.section-copy h2, .section-heading h2, .contact-copy h2 { margin: 14px 0 24px; font-size: clamp(38px, 4vw, 59px); line-height: 1.03; letter-spacing: -2.7px; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 20px 29px 0; }
.stats div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 44px; line-height: 1; letter-spacing: -1.8px; }
.stats span { display: block; margin-top: 10px; color: #676767; font-size: 13px; font-weight: 700; }

.features { background: #111; color: #fff; }
.section-heading { max-width: 750px; margin-bottom: 64px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.features .section-heading > p:not(.eyebrow) { color: #bdbdbd; }
.feature-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: 72px; }
.feature-media { aspect-ratio: 612 / 440; }
.feature-list { display: flex; flex-direction: column; justify-content: center; }
.feature-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 29px 0; border-top: 1px solid #383838; }
.feature-item:last-child { border-bottom: 1px solid #383838; }
.feature-number { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.feature-item h3 { margin: -3px 0 7px; font-size: 18px; }
.feature-item p { margin: 0; color: #b8b8b8; font-size: 15px; }

.tools { background: #fff; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tool-card { min-width: 0; border: 1px solid #dedbd6; background: #fff; }
.tool-collage { position: relative; min-height: 470px; overflow: hidden; background: var(--paper); }
.tool-card figure { margin: 0; overflow: hidden; background: #e3e3e3; }
.tool-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.tool-main-image { width: 78%; aspect-ratio: 503 / 360; }
.tool-secondary-image { position: absolute; right: 0; bottom: 0; width: 62%; aspect-ratio: 503 / 360; border: 12px solid #fff; border-right: 0; border-bottom: 0; }
.tool-card:hover figure img { transform: scale(1.035); }
.tool-card-body { padding: 31px 34px 34px; }
.tool-card h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.7px; }
.tool-card p { min-height: 54px; margin: 0 0 20px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.text-link span { font-size: 19px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.help-block { margin-top: 38px; }
.help-block span { display: block; margin-bottom: 7px; color: #777; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.help-block a { font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.contact-form { display: grid; gap: 21px; }
.contact-form label > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
input, textarea { width: 100%; border: 1px solid #bab8b3; border-radius: 0; outline: none; background: #fff; color: #161616; padding: 16px 17px; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { resize: vertical; min-height: 142px; }
input:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,45,45,.1); }
.button { justify-self: start; min-width: 194px; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 15px 24px; font-size: 13px; font-weight: 800; letter-spacing: .3px; transition: .2s ease; }
.button:hover { background: var(--red); border-color: var(--red); }
.form-status { min-height: 24px; margin: -7px 0 0; font-size: 13px; font-weight: 700; }
.form-status.success { color: #246c35; }
.form-status.error { color: #a71919; }

.site-footer { padding: 75px 0 24px; background: var(--footer); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr .65fr 1.3fr; gap: 76px; align-items: start; }
.footer-about > img { width: 205px; padding: 7px; background: #fff; }
.footer-about h2 { margin: 28px 0 12px; font-size: 27px; }
.footer-about p { max-width: 330px; color: #ababab; }
.socials { display: flex; gap: 10px; margin: 15px 0 19px; }
.socials a { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #525252; border-radius: 50%; font-weight: 700; transition: .2s ease; }
.socials a:hover { border-color: var(--red); background: var(--red); }
.footer-links { display: flex; flex-direction: column; gap: 15px; padding-top: 8px; font-weight: 700; }
.footer-links a:hover { color: #ff5757; }
.newsletter { padding-top: 6px; }
.newsletter > label { display: block; margin-bottom: 12px; color: #b9b9b9; font-size: 13px; }
.newsletter > div { display: flex; }
.newsletter input { min-width: 0; border-color: #4a4a4a; background: transparent; color: #fff; }
.newsletter button { flex: 0 0 210px; border: 1px solid var(--red); background: var(--red); color: #fff; padding: 12px 17px; font-size: 12px; font-weight: 800; line-height: 1.35; }
.newsletter button:hover { background: var(--red-dark); }
.copyright { margin-top: 58px; padding-top: 23px; border-top: 1px solid #343434; color: #858585; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .section-pad { padding: 78px 0; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 86px 0 auto 0; display: none; max-height: calc(100vh - 86px); overflow-y: auto; padding: 18px 24px 30px; background: #fff; border-bottom: 1px solid #dedede; box-shadow: 0 18px 38px rgba(0,0,0,.08); }
  .primary-nav.open { display: block; }
  .primary-nav > a, .nav-dropdown > button { display: block; width: 100%; padding: 14px 0; text-align: left; }
  .primary-nav > a::after, .nav-dropdown > button::after { display: none; }
  .dropdown-panel { position: static; display: none; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .dropdown-panel { display: block; }
  .hero-grid, .split-grid, .feature-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-media { width: min(100%, 660px); }
  .split-grid, .contact-grid { gap: 52px; }
  .feature-layout { gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .header-inner { min-height: 74px; }
  .primary-nav { inset: 74px 0 auto; max-height: calc(100vh - 74px); }
  .brand img { width: 182px; }
  .hero { padding-top: 46px; }
  .hero h1 { letter-spacing: -2.8px; }
  .lead { font-size: 16px; }
  .section-pad { padding: 64px 0; }
  .section-copy h2, .section-heading h2, .contact-copy h2 { letter-spacing: -2px; }
  .tool-grid, .footer-grid { grid-template-columns: 1fr; }
  .tool-card-body { padding: 25px 25px 28px; }
  .tool-collage { min-height: 330px; }
  .stats strong { font-size: 37px; }
  .newsletter { grid-column: auto; }
  .newsletter > div { display: grid; }
  .newsletter button { min-height: 53px; }
  .footer-grid { gap: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
