/* Foundation: type, navigation, controls and shared utility surfaces. */
@font-face {
  font-family: Chivo;
  src: url('assets/fonts/chivo-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Bevan;
  src: url('assets/fonts/bevan-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #151515;
  --paper: #f4f4f2;
  --white: #fff;
  --muted: #4f5559;
  --line: #d3d3d0;
  --accent: #425d73;
  --pad: 6%;
  --body: Chivo, Arial, sans-serif;
  --sans: Chivo, Arial, sans-serif;
  --display: Bevan, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--body); }
a { color: inherit; text-decoration: none; }
picture { display: block; min-width: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 22px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; font-synthesis: none; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(58px, 7.2vw, 104px); }
h2 { font-size: clamp(38px, 4.2vw, 60px); }
h3 { font-size: 32px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 3px; }
button:disabled { cursor: default; opacity: .55; }
[hidden] { display: none !important; }
.section { padding: 80px var(--pad); }
.eyebrow { margin-bottom: 23px; font: 600 13px/1.5 var(--sans); letter-spacing: .035em; }
.breadcrumb { margin-bottom: 32px; font: 400 12px/1.7 var(--sans); color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.skip { position: fixed; left: 12px; top: -90px; padding: 12px 18px; background: white; color: var(--ink); z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; }
.button {
  --button-surface: var(--accent);
  --button-hover: #314757;
  --button-ink: white;
  --button-rebate: 16px;
  --button-cut: 8px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--button-ink);
  font: 600 14px/1.4 var(--sans);
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--button-surface);
  clip-path: polygon(0 0, calc(100% - var(--button-rebate)) 0, calc(100% - var(--button-rebate)) var(--button-cut), 100% var(--button-cut), 100% 100%, var(--button-rebate) 100%, var(--button-rebate) calc(100% - var(--button-cut)), 0 calc(100% - var(--button-cut)));
  transition: background .18s ease;
}
.button:hover::before { background: var(--button-hover); }
.button.light { --button-surface: white; --button-hover: #e6e6e3; --button-ink: var(--ink); }
@media (max-width: 600px) {
  .button { --button-rebate: 13px; --button-cut: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .button::before { transition: none; }
}
@media (forced-colors: active) {
  .button { border: 2px solid ButtonText; background: ButtonFace; color: ButtonText; }
  .button::before { display: none; }
}
.action-link { display: inline-flex; align-items: center; padding: 7px 0; color: var(--accent); font: 600 14px/1.6 var(--sans); border: 0; border-radius: 4px; }
.action-link:hover { color: #283f52; }

/* The supplied identity remains a single composed logo; only the saw rotates. */
.brand { display: inline-block; flex-shrink: 0; }
.logo { display: block; position: relative; width: 125px; aspect-ratio: 1; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo-face { z-index: 1; }
.logo-blade { animation: saw-turn 32s linear infinite; transform-origin: 50% 42%; }
.motion-paused .logo-blade { animation-play-state: paused; }
@keyframes saw-turn { to { transform: rotate(360deg); } }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px var(--pad); background: #111; color: white; font: 400 12px/1.5 var(--sans); }
.topline a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.topline svg { width: 15px; height: 15px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 145px; padding: 10px var(--pad); background: white; }
#nav { display: flex; flex-direction: column; align-items: flex-end; gap: 19px; }
.service-nav { display: flex; align-items: center; gap: 30px; font: 600 18px/1.5 var(--sans); }
.company-nav { display: flex; align-items: center; justify-content: flex-end; gap: 27px; font: 400 14px/1.5 var(--sans); }
#nav a { padding: 6px 10px; border-radius: 7px; transition: background .16s ease, color .16s ease; }
#nav a:hover { background: #f0f3f5; color: #283f52; }
#nav a[aria-current=page] { background: #e8eef2; color: #283f52; font-weight: 600; }
#nav .nav-call { display: inline-flex; align-items: center; gap: 9px; padding-left: 10px; }
.nav-call svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* Footer and contact controls use the same neutral, legible foundation. */
footer { background: white; }
.footer-main { display: grid; grid-template-columns: 150px 1fr 1fr; align-items: center; gap: 8%; padding: 46px var(--pad); }
.footer-main .logo { width: 125px; }
.footer-label { margin-bottom: 11px; font: 400 13px/1.6 var(--sans); color: var(--muted); }
.footer-phone { display: block; font: 600 30px/1.3 var(--body); letter-spacing: .01em; margin-bottom: 8px; }
.footer-email { font: 400 14px/1.6 var(--sans); overflow-wrap: anywhere; }
.footer-phone:hover, .footer-email:hover { color: var(--accent); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; font: 400 14px/1.5 var(--sans); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 0; padding: 22px var(--pad); background: #f1f3f4; font: 400 12px/1.6 var(--sans); color: var(--muted); }
.footer-bottom button { border: 0; background: none; color: inherit; padding: 3px 0; font: 400 12px/1.6 var(--sans); }
.footer-bottom button:hover { color: var(--accent); }
.footer-credit { padding: 3px 0; white-space: nowrap; }
.footer-credit a { color: var(--ink); font-weight: 600; }
.footer-credit a:hover { color: var(--accent); }
.privacy { padding: 20px var(--pad); max-width: 1100px; font: 400 12px/1.8 var(--sans); color: var(--muted); }
.privacy a { color: var(--accent); font-weight: 600; }
.mobile-call { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin: 22px 0 9px; color: var(--ink); font: 600 13px/1.5 var(--sans); }
input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #bcbcb8;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  font: 400 16px/1.5 var(--sans);
}
input::placeholder, textarea::placeholder { color: #707070; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #83837e; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 11px; font-weight: 400; margin: 24px 0; }
.consent input { width: 17px; height: 17px; padding: 0; margin: 2px 0 0; flex: 0 0 17px; accent-color: var(--accent); }
.form-note { max-width: 490px; margin-top: 17px; color: var(--muted); font: 400 12px/1.7 var(--sans); }
.honey { position: absolute; left: -10000px; opacity: 0; }
.simple-page { min-height: 60vh; padding: 70px var(--pad) 95px; }
.simple-page h1 { margin-bottom: 30px; max-width: 850px; }
.simple-page > p:not(.eyebrow) { max-width: 650px; }
.simple-page .button { margin-top: 15px; }

/* One optional business-card interaction appears on About, never on service navigation. */
.trade-card { position: relative; perspective: 1200px; width: 100%; max-width: 390px; }
.card-rotor { display: grid; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.22,.7,.2,1); }
.is-flipped .card-rotor { transform: rotateY(180deg); }
.card-face { grid-area: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 265px; padding: 24px 24px 61px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #0000000b; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-front img { width: 145px; height: 145px; object-fit: contain; }
.card-front p { margin: 9px 0 0; color: var(--muted); font: 400 12px/1.6 var(--sans); }
.card-back { transform: rotateY(180deg); background: #191919; color: white; border-color: #191919; }
.card-back h3 { margin: 0 0 17px; font: 400 27px/1.2 var(--display); }
.business-phone { font: 600 24px/1.5 var(--sans); }
.business-email { font: 400 13px/1.7 var(--sans); overflow-wrap: anywhere; }
.card-back p { margin: 16px 0 0; color: #c7c7c7; font: 400 12px/1.7 var(--sans); }
.card-turn { position: absolute; left: 50%; bottom: 15px; z-index: 2; transform: translateX(-50%); padding: 7px 14px; border: 0; border-radius: 6px; background: #eef2f5; color: var(--ink); white-space: nowrap; font: 600 12px/1.5 var(--sans); }
.is-flipped .card-turn { color: white; background: #ffffff18; }
.card-turn:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .service-nav { gap: 24px; font-size: 17px; }
  .company-nav { gap: 24px; }
  .footer-main { gap: 5%; }
}
@media (max-width: 800px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .site-header { position: relative; min-height: 0; height: 112px; padding: 5px var(--pad); }
  .site-header .logo { width: 102px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0 12px 12px; border: 0; background: none; color: var(--ink); font: 600 14px/1.5 var(--sans); }
  .menu-icon { position: relative; width: 19px; height: 13px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-icon:after { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 1px solid currentColor; }
  #nav { display: none; position: absolute; top: 111px; left: 0; right: 0; z-index: 30; align-items: stretch; gap: 18px; padding: 23px var(--pad) 28px; background: white; border-radius: 0 0 14px 14px; box-shadow: 0 12px 20px #0000000b; }
  #nav.open { display: flex; }
  .service-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 18px; }
  #nav .service-nav a { padding: 8px 10px; }
  .company-nav { flex-wrap: wrap; justify-content: flex-start; gap: 10px 22px; padding-top: 15px; font-size: 14px; }
  #nav .nav-call { margin-left: auto; padding-left: 16px; }
  .topline { font-size: 11px; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
  .topline a { font-size: 11px; }
  .footer-main { grid-template-columns: 130px 1fr; gap: 30px; }
  .footer-main .logo { width: 115px; }
  .footer-nav { grid-column: 1/-1; grid-template-columns: repeat(4, 1fr); gap: 13px 20px; }
  .footer-bottom { font-size: 11px; gap: 20px; }
}
@media (max-width: 600px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .topline { font-size: 10px; gap: 10px; }
  .topline a { font-size: 10px; }
  .topline svg { display: none; }
  h1 { font-size: 66px; }
  h2 { font-size: 43px; }
  h3 { font-size: 31px; }
  .button { padding: 15px 23px; font-size: 14px; }
  .eyebrow { font-size: 12px; }
  .breadcrumb { font-size: 11px; margin-bottom: 27px; }
  .company-nav { gap: 10px 20px; }
  #nav .nav-call { margin-left: 0; }
  .footer-main { grid-template-columns: 95px 1fr; padding-top: 33px; padding-bottom: 30px; gap: 24px 19px; }
  .footer-main .logo { width: 95px; }
  .footer-label { font-size: 11px; margin-bottom: 9px; }
  .footer-phone { font-size: 27px; }
  .footer-email { font-size: 12px; }
  .footer-nav { grid-template-columns: 1fr 1fr; font-size: 13px; gap: 13px 24px; }
  .footer-bottom { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 15px 25px; padding-bottom: 85px; }
  .footer-bottom > span { width: 100%; }
  .footer-bottom button { font-size: 11px; }
  .privacy { font-size: 11px; }
  .mobile-call { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid white; border-radius: 50%; background: #151515; color: white; box-shadow: 0 5px 18px #0003; }
  .mobile-call svg { width: 23px; height: 23px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .consent { font-size: 13px; }
  input, select, textarea { font-size: 16px; }
  .form-note { font-size: 11px; }
  .simple-page { padding-top: 45px; padding-bottom: 65px; }
  .simple-page h1 { font-size: 61px; }
  .card-face { min-height: 265px; padding-left: 22px; padding-right: 22px; }
  .card-back h3 { font-size: 30px; }
  .business-phone { font-size: 23px; }
  .business-email { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .card-rotor, .card-back { transform: none !important; }
  .card-back { visibility: hidden; }
  .is-flipped .card-front { visibility: hidden; }
  .is-flipped .card-back { visibility: visible; }
}


/* A small arrival effect works with ordinary and decrypted documents alike.
   Copy is never hidden, links stay native, and no timer delays navigation. */
@keyframes ace-page-in {
  from { opacity: .9; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  main { animation: ace-page-in 180ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}
