:root {
  --ink: #172027;
  --ink-soft: #24333d;
  --paper: #f2f0ea;
  --white: #ffffff;
  --muted: #617078;
  --line: rgba(23, 32, 39, .16);
  --copper: #d97843;
  --copper-light: #efa16f;
  --sage: #b7c4bd;
  --radius: 6px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }

.skip-link { position: fixed; top: -70px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--ink); background: var(--copper-light); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.nav { width: min(calc(100% - 40px), var(--max)); height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 21px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.brand-mark { width: 28px; height: 19px; display: inline-block; border-top: 5px solid var(--copper-light); border-left: 5px solid var(--copper-light); transform: rotate(45deg) skew(-8deg, -8deg); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:not(.nav-cta):hover { color: var(--copper-light); }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.46); border-radius: var(--radius); color: var(--white); background: rgba(0,0,0,.22); font-size: 24px; cursor: pointer; }

.nav-cta, .button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid var(--copper); border-radius: var(--radius); color: #171b1e; background: var(--copper-light); font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); background: #f5b084; }
.button-secondary { color: var(--white); background: rgba(17, 24, 29, .55); border-color: rgba(255,255,255,.58); backdrop-filter: blur(8px); }
.button-secondary:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button:focus-visible, .nav-cta:focus-visible, .menu-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }

.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(10,15,18,.92) 0%, rgba(10,15,18,.72) 38%, rgba(10,15,18,.17) 72%), linear-gradient(0deg, rgba(10,15,18,.74), transparent 50%), url("takproff-hero.webp"); background-position: center, center, center; background-size: cover; transform: scale(1.015); animation: hero-image 1.05s ease-out both; }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 154px 0 92px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; color: var(--copper-light); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; width: 38px; border-top: 2px solid currentColor; }
.eyebrow.dark, .section-kicker { color: #a94e24; }
h1 { max-width: 820px; margin-bottom: 23px; font-size: 72px; line-height: 1.03; letter-spacing: 0; }
.hero-copy { max-width: 660px; margin-bottom: 32px; color: rgba(255,255,255,.88); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; right: max(20px, calc((100% - var(--max)) / 2)); bottom: 32px; z-index: 2; display: inline-flex; gap: 10px; align-items: center; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 700; text-decoration: none; }
.hero-scroll span { color: var(--copper-light); font-size: 20px; }

.section { padding: 96px 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.intro { padding: 78px 0; background: var(--paper); }
.intro-layout { display: grid; grid-template-columns: .48fr 1.52fr; gap: 7vw; align-items: start; }
.intro h2, .section-heading h2, .form-intro h2, .materials-copy h2, .rot-layout h2, .faq h2, .final-form-heading h2 { margin-bottom: 18px; font-size: 48px; line-height: 1.08; letter-spacing: 0; }
.intro .lead { max-width: 780px; margin: 0; color: var(--muted); font-size: 20px; }

.form-section { background: var(--white); }
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: start; }
.form-intro { position: sticky; top: 28px; }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.form-points { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.form-points li { position: relative; padding: 15px 0 15px 31px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.form-points li::before { content: "✓"; position: absolute; left: 2px; color: #a94e24; }
.lead-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 53px; padding: 13px 14px; border: 1px solid #aeb8bc; border-radius: 4px; color: var(--ink); background: var(--white); }
.field textarea { min-height: 145px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--copper); }
.consent a { text-underline-offset: 3px; }
.lead-form .button { width: 100%; min-height: 58px; border: 0; }
.form-note { margin: -8px 0 0; color: var(--muted); font-size: 12px; }
.form-status { min-height: 26px; margin: -10px 0 0; font-weight: 800; }
.form-status.error { color: #a02e22; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.services { background: var(--paper); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:not(.section-kicker) { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { min-height: 285px; padding: 30px 24px; border-right: 1px solid var(--line); transition: background .2s ease; }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; }
.service:hover { background: rgba(255,255,255,.54); }
.service > span { color: #a94e24; font-size: 13px; font-weight: 800; }
.service h3 { margin: 44px 0 10px; font-size: 23px; line-height: 1.2; }
.service p { min-height: 78px; margin-bottom: 19px; color: var(--muted); font-size: 15px; }
.service a { font-size: 14px; font-weight: 800; text-underline-offset: 5px; }

.process { color: var(--white); background: var(--ink); }
.process .container { display: grid; grid-template-columns: .62fr 1.38fr; gap: 8vw; }
.process-heading { position: sticky; top: 28px; align-self: start; }
.process h2 { margin: 0; font-size: 58px; line-height: 1.05; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-list li > span { color: var(--copper-light); font-size: 13px; font-weight: 800; }
.process-list h3 { margin: 0 0 7px; font-size: 22px; }
.process-list p { margin: 0; color: var(--sage); }

.materials { background: var(--white); }
.materials-layout { display: grid; grid-template-columns: 1.03fr .97fr; gap: 7vw; align-items: center; }
.materials-image { min-height: 610px; margin: 0; overflow: hidden; background: var(--ink-soft); }
.materials-image img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; }
.materials-copy > p:not(.section-kicker) { color: var(--muted); }
.material-list { margin: 31px 0 0; border-top: 1px solid var(--line); }
.material-list div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.material-list dt { font-weight: 800; }
.material-list dd { margin: 0; color: var(--muted); font-size: 15px; }

.rot-section { color: var(--ink); background: #e4d8ce; }
.rot-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; }
.rot-copy { padding-top: 9px; }
.rot-copy > p:first-child { font-size: 19px; }
.source-note { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(23,32,39,.18); color: #5f574f; font-size: 13px; }
.source-note a { font-weight: 800; text-underline-offset: 4px; }

.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 22px 40px 22px 0; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 19px; color: #a94e24; font-size: 27px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { max-width: 670px; padding: 0 36px 22px 0; color: var(--muted); }

.final-form { color: var(--white); background: var(--ink-soft); }
.final-form .container { display: grid; grid-template-columns: .73fr 1.27fr; gap: 8vw; align-items: start; }
.final-form-heading { position: sticky; top: 28px; }
.final-form-heading p:not(.eyebrow) { color: var(--sage); }
.lead-form-dark { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: #1b272f; }
.lead-form-dark .field input, .lead-form-dark .field select, .lead-form-dark .field textarea { color: var(--white); background: #23323b; border-color: #52616a; }
.lead-form-dark .field input::placeholder, .lead-form-dark .field textarea::placeholder { color: #aebbc2; }
.lead-form-dark .consent, .lead-form-dark .form-note { color: var(--sage); }

.site-footer { padding: 65px 0 24px; color: var(--white); background: #0f161a; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; padding-bottom: 44px; }
.footer-main p { max-width: 570px; margin: 18px 0 0; color: rgba(255,255,255,.58); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.footer-links a { font-weight: 700; text-underline-offset: 4px; }
.sale-note { display: flex; justify-content: space-between; gap: 30px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.68); font-size: 13px; }
.sale-note p { margin: 0; }
.sale-note a { font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: rgba(255,255,255,.4); font-size: 11px; }

.privacy-page { min-height: 100vh; background: var(--paper); }
.privacy-page .site-header { position: relative; color: var(--ink); border-color: var(--line); }
.privacy-page .menu-button { color: var(--ink); border-color: var(--line); background: transparent; }
.privacy-page main { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 80px 0 110px; }
.privacy-page h1 { font-size: 60px; line-height: 1.04; }
.privacy-page h2 { margin-top: 42px; font-size: 26px; }
.privacy-page p, .privacy-page li { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes hero-image { from { opacity: .55; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }

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

@media (max-width: 920px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: fixed; inset: 82px 0 auto; padding: 26px 20px 32px; flex-direction: column; align-items: stretch; background: #10181d; border-top: 1px solid rgba(255,255,255,.16); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px; font-size: 17px; text-align: center; }
  .intro-layout, .form-layout, .process .container, .materials-layout, .rot-layout, .faq-layout, .final-form .container { grid-template-columns: 1fr; gap: 50px; }
  .form-intro, .process-heading, .final-form-heading { position: static; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .materials-image, .materials-image img { min-height: 480px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { width: min(calc(100% - 28px), var(--max)); height: 72px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 23px; height: 15px; }
  .nav-links { top: 72px; }
  .hero { min-height: 91svh; }
  .hero::before { background-image: linear-gradient(90deg, rgba(10,15,18,.87), rgba(10,15,18,.27)), linear-gradient(0deg, rgba(10,15,18,.78), transparent 65%), url("takproff-hero.webp"); background-position: center, center, 63% center; }
  .hero-inner { width: min(calc(100% - 28px), var(--max)); padding: 122px 0 55px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-scroll { display: none; }
  .section { padding: 70px 0; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .intro { padding: 60px 0; }
  .intro h2, .section-heading h2, .form-intro h2, .materials-copy h2, .rot-layout h2, .faq h2, .final-form-heading h2 { font-size: 36px; }
  .intro .lead { font-size: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:first-child { min-height: auto; padding: 25px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .service h3 { margin-top: 19px; }
  .service p { min-height: 0; }
  .process h2 { font-size: 44px; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .materials-image, .materials-image img { min-height: 360px; }
  .material-list div { grid-template-columns: 1fr; gap: 4px; }
  .lead-form-dark { padding: 22px 18px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .sale-note, .footer-bottom { flex-direction: column; }
  .privacy-page main { width: min(calc(100% - 28px), 780px); padding: 60px 0 90px; }
  .privacy-page h1 { font-size: 43px; }
}
