/* TeamFarm — compact, responsive implementation of the approved navy/gold design.
   No framework, external font, animation library, or build step required. */
:root {
  color-scheme: dark;
  --bg: #041923;
  --outer-bg: #061620;
  --surface: #08232f;
  --text: #f3f1ec;
  --muted: #b9c7cd;
  --subtle: #8da4ad;
  --gold: #f4c343;
  --gold-hover: #ffd468;
  --line: #1c3d49;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --content-width: 1040px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--outer-bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.043em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.25vw, 48px); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 10px 18px; background: var(--gold); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-shell { max-width: 1216px; margin: 0 auto; background: var(--bg); box-shadow: 0 0 100px #00000024; }
.container { width: min(var(--content-width), calc(100% - 88px)); margin-inline: auto; }
.section-rule { border-top: 1px solid var(--line); }
.section-padding { padding-block: 42px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; color: var(--gold); font: 600 10px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex-shrink: 0; width: 29px; height: 2px; background: var(--gold); }
.body-copy { color: var(--muted); font-size: 15px; line-height: 1.65; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 46px; padding: 11px 22px; border: 1px solid var(--gold); border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background-color .18s, border-color .18s, transform .18s; }
.button .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.button-gold { color: #15232a; background: var(--gold); box-shadow: inset 0 0 0 1px #fff1b230; }
.button-outline { color: var(--text); background: transparent; border-color: #b48e31; }
.button-small { min-height: 40px; padding: 8px 21px; font-size: 13px; }
@media (hover: hover) {
  .button-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); transform: translateY(-1px); }
  .button-outline:hover { background: #f4c34310; border-color: var(--gold); }
}
.site-header { position: relative; display: flex; align-items: center; min-height: 87px; gap: 35px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 165px; }
.desktop-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; color: var(--muted); font-size: 13px; }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; transition: color .15s; }
.desktop-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 13px; }
.mobile-menu { display: none; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 300px; align-items: center; min-height: 410px; padding-block: 34px 44px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(50px, 6.1vw, 73px); line-height: 1.025; letter-spacing: -.048em; }
.hero-description { max-width: 440px; margin-top: 23px; font-size: 16px; line-height: 1.6; color: #d0d9dc; }
.hero-actions { display: flex; gap: 13px; margin-top: 27px; }
.hero-art { position: relative; justify-self: end; align-self: stretch; width: 283px; padding-top: 5px; }
.hero-art img { position: relative; z-index: 1; width: 240px; margin-left: auto; }
.hero-orbit { position: absolute; top: 4px; right: -8px; width: 288px; height: 312px; border: 1px solid #c29735a6; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-18deg); }
.art-caption { position: absolute; z-index: 2; left: 11px; bottom: 5px; color: #80959e; font: italic 22px/.98 var(--serif); transform: rotate(-9deg); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 25px; }
.feature { display: flex; justify-content: center; align-items: center; gap: 17px; padding-inline: 22px; }
.feature:first-child { padding-left: 0; justify-content: flex-start; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature > .icon { color: var(--gold); width: 33px; height: 33px; stroke-width: 1.25; }
.feature strong { display: block; color: var(--text); font-size: 14px; font-weight: 500; }
.feature span { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; }
.about { overflow: hidden; background: linear-gradient(105deg, #07202b55, transparent 65%); }
.about-layout { position: relative; display: grid; grid-template-columns: 1fr 235px; align-items: center; gap: 60px; }
.about .body-copy { max-width: 610px; margin-top: 19px; }
.origin-mark { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: 51px; min-height: 177px; }
.origin-orbit { position: absolute; width: 284px; height: 284px; top: 50%; left: 0; transform: translateY(-50%); border: 1px solid #ba953958; border-radius: 50%; }
.origin-text { position: relative; color: #a8b8bf; font: 500 10px/1.9 var(--sans); text-transform: uppercase; letter-spacing: .3em; }
.small-rule { width: 24px; height: 2px; background: var(--gold); margin-top: 17px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 25px; }
.section-intro { max-width: 335px; padding-bottom: 4px; }
.sales-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.sales-card { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); align-items: center; gap: 22px; padding: 29px 24px; border: 1px solid #204454; border-radius: 9px; background: radial-gradient(ellipse at 15% 15%, #1138483d, transparent 80%), #06202b; transition: border-color .2s, background-color .2s; }
.sales-card:target { border-color: var(--gold); }
.card-illustration { min-width: 0; }
.card-illustration img { width: 100%; max-width: 240px; margin-inline: auto; object-fit: contain; }
.card-copy { min-width: 0; }
.card-copy h3 { font: 400 27px/1.12 var(--serif); letter-spacing: -.035em; }
.card-copy p { min-height: 64px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-button { display: flex; margin-top: 17px; min-height: 44px; padding: 10px 14px; font-size: 13px; }
.process .section-heading { margin-bottom: 30px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.step { position: relative; display: flex; align-items: flex-start; gap: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: 6px; top: 26px; width: clamp(15px, 3.5vw, 49px); height: 1px; background: var(--line); }
.step-icon { display: grid; place-items: center; width: 53px; height: 53px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.step-icon .icon { width: 26px; height: 26px; stroke-width: 1.25; }
.step-number { display: block; margin: 0 0 4px; color: var(--gold); font-size: 10px; line-height: 1.2; letter-spacing: .13em; }
.step h3 { font: 500 14px/1.25 var(--sans); }
.step p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.contact { background: linear-gradient(105deg, #08232b70, transparent); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.contact h2 { font-size: clamp(34px, 4vw, 47px); }
.contact h2 em { display: block; }
.contact .body-copy { margin-top: 15px; }
.contact-details { font-style: normal; padding-left: 37px; border-left: 1px solid var(--line); }
.contact-details > a, .contact-details > div { display: flex; align-items: center; gap: 19px; min-height: 47px; font-size: 15px; }
.contact-details .icon { color: var(--gold); width: 22px; height: 22px; }
.contact-details a:hover [data-phone-text], .contact-details a:hover [data-email-text] { color: var(--gold); }
.contact-hint { font-size: 10px; color: var(--subtle); margin-left: auto; padding-left: 6px; white-space: nowrap; }
.footer-layout { display: flex; align-items: center; gap: 27px; min-height: 93px; }
.footer-brand img { width: 151px; }
.footer-tagline { padding-left: 26px; border-left: 1px solid #8e783b; color: var(--subtle); font-size: 10px; letter-spacing: .045em; line-height: 1.65; }
.copyright { margin-left: auto; color: var(--subtle); font-size: 10px; line-height: 1.65; }
.back-to-top { display: grid; place-items: center; min-width: 40px; min-height: 44px; color: var(--gold); }
.back-to-top .icon { width: 17px; height: 17px; }
@media (min-width: 1217px) { .site-shell { border-inline: 1px solid #12313e; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1fr 230px; }
  .hero-art { width: 224px; }
  .hero-art img { width: 218px; }
  .hero-orbit { width: 245px; height: 275px; }
  .hero h1 { font-size: 62px; }
  .hero-description { max-width: 390px; }
  .art-caption { left: 10px; bottom: 11px; font-size: 20px; }
  .sales-card { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 23px; }
  .card-illustration img { width: 212px; }
  .card-copy h3 { font-size: 29px; }
  .card-copy p { min-height: 44px; }
  .step:not(:last-child)::after { display: none; }
  .contact-layout { gap: 30px; }
  .contact-details { padding-left: 26px; }
  .contact-details > a, .contact-details > div { font-size: 14px; gap: 13px; }
  .contact-hint { display: none; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 44px); }
  .site-header { min-height: 69px; justify-content: space-between; gap: 18px; }
  .brand img { width: 146px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; cursor: pointer; width: 40px; height: 44px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary .icon { width: 23px; height: 23px; }
  .menu-close, .mobile-menu[open] .menu-open { display: none; }
  .mobile-menu[open] .menu-close { display: block; }
  .mobile-navigation { position: absolute; z-index: 10; top: 62px; right: 0; width: min(285px, calc(100vw - 44px)); padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #0b2632; box-shadow: 0 16px 40px #0008; }
  .mobile-navigation a { display: flex; min-height: 46px; align-items: center; padding: 9px 14px; font-size: 14px; border-radius: 4px; }
  .mobile-navigation a:hover { background: #153642; color: var(--gold); }
  .button-small { min-height: 38px; padding: 7px 17px; }
  .hero { grid-template-columns: 1fr 185px; padding-block: 27px 32px; min-height: 370px; }
  .hero h1 { font-size: 50px; }
  .hero-art { width: 182px; }
  .hero-art img { width: 174px; }
  .hero-orbit { width: 194px; height: 240px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 15px; gap: 10px; font-size: 13px; }
  .hero-description { font-size: 15px; margin-top: 19px; }
  .art-caption { bottom: 13px; left: 5px; font-size: 18px; }
  .feature { gap: 11px; padding-inline: 13px; }
  .feature > .icon { width: 28px; height: 28px; }
  .feature strong { font-size: 12px; }
  .feature span { font-size: 11px; }
  .about-layout { grid-template-columns: 1fr 130px; gap: 25px; }
  .origin-mark { padding-left: 28px; }
  .origin-orbit { width: 226px; height: 226px; }
  .origin-text { font-size: 8px; }
  .section-padding { padding-block: 34px; }
  .section-heading { gap: 20px; }
  .section-intro { max-width: 225px; }
  .body-copy { font-size: 14px; }
  .step { gap: 10px; }
  .step-icon { width: 45px; height: 45px; }
  .step h3 { font-size: 13px; }
  .step p { font-size: 11px; }
  .contact-layout { grid-template-columns: 1fr 1.15fr; gap: 20px; }
  .contact-details { padding-left: 20px; }
  .contact-details > a, .contact-details > div { font-size: 12px; gap: 10px; }
  .contact-details .icon { width: 19px; height: 19px; }
  .footer-layout { gap: 18px; }
  .footer-brand img { width: 134px; }
  .footer-tagline { padding-left: 18px; }
}
@media (max-width: 560px) {
  h2 { font-size: 33px; }
  .site-header { min-height: 66px; }
  .header-actions { gap: 8px; }
  .brand img { width: 132px; }
  .button-small { font-size: 12px; padding-inline: 14px; }
  .eyebrow { font-size: 9px; letter-spacing: .18em; gap: 9px; margin-bottom: 13px; }
  .eyebrow::before { width: 24px; }
  .hero { display: block; min-height: auto; padding-block: 24px 29px; }
  .hero h1 { font-size: clamp(40px, 11.65vw, 55px); letter-spacing: -.051em; line-height: 1.03; }
  .hero-description { max-width: calc(100% - 109px); margin-top: 18px; font-size: 14px; line-height: 1.6; }
  .hero-art { position: absolute; top: 143px; right: -17px; width: 126px; height: 172px; padding: 0; }
  .hero-art img { width: 123px; }
  .hero-orbit { top: -3px; right: -1px; width: 146px; height: 156px; }
  .art-caption { display: none; }
  .hero-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .button { min-height: 44px; padding: 10px 12px; font-size: 12px; gap: 10px; }
  .feature-grid { padding-block: 19px; }
  .feature { align-items: flex-start; gap: 5px; flex-direction: column; padding-inline: 11px; }
  .feature:first-child { padding-left: 0; }
  .feature > .icon { width: 21px; height: 21px; }
  .feature strong { font-size: 10.5px; font-weight: 500; }
  .feature span { font-size: 9.5px; margin-top: 2px; }
  .section-padding { padding-block: 29px; }
  .about-layout { grid-template-columns: 1fr; gap: 0; }
  .about-copy { position: relative; z-index: 1; }
  .about h2 { max-width: 85%; }
  .about .body-copy { max-width: 100%; margin-top: 14px; line-height: 1.6; }
  .origin-mark { display: none; }
  .about-layout::after { content: ""; pointer-events: none; position: absolute; right: -77px; top: -29px; width: 150px; height: 180px; border: 1px solid #c2973539; border-radius: 50%; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-intro { max-width: none; margin-top: 13px; padding-bottom: 0; font-size: 13px; }
  .desktop-only { display: none; }
  .sales-grid { gap: 12px; }
  .sales-card { padding: 17px 13px 13px; gap: 14px; border-radius: 7px; }
  .card-illustration { display: flex; align-items: center; height: clamp(76px, 22vw, 110px); }
  .card-illustration img { width: 100%; }
  .card-copy { display: flex; flex: 1; flex-direction: column; }
  .card-copy h3 { font-size: clamp(20px, 5.65vw, 27px); line-height: 1.08; }
  .card-copy p { font-size: 12px; line-height: 1.55; margin-top: 9px; min-height: 0; margin-bottom: 16px; }
  .card-button { margin-top: auto; min-height: 42px; padding: 10px 11px; gap: 17px; font-size: 12px; }
  .process .section-heading { margin-bottom: 23px; }
  .process h2 { font-size: 32px; }
  .steps { gap: 11px; }
  .step { display: block; }
  .step-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .step-icon .icon { width: 20px; height: 20px; }
  .step-number { margin-bottom: 5px; font-size: 9px; }
  .step h3 { font-size: 11px; font-weight: 500; line-height: 1.35; }
  .step p { font-size: 10px; margin-top: 5px; }
  .step:not(:last-child)::after { display: block; top: 18px; left: 49px; right: auto; width: calc(100% - 48px); }
  .contact-layout { display: block; }
  .contact h2 { font-size: 33px; }
  .contact h2 em { display: inline; }
  .contact .body-copy { margin-top: 12px; font-size: 13px; }
  .contact-details { border: 0; padding: 0; margin-top: 17px; }
  .contact-details > a, .contact-details > div { min-height: 38px; font-size: 13px; gap: 13px; }
  .contact-hint { display: inline; }
  .footer-layout { min-height: 78px; gap: 12px; }
  .footer-brand img { width: 126px; }
  .footer-tagline { display: none; }
  .copyright { font-size: 9px; }
  .back-to-top { min-width: 25px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 34px); }
  .brand img { width: 121px; }
  .site-header { gap: 10px; }
  .header-actions { gap: 4px; }
  .hero h1 { font-size: 40px; }
  .hero-art { width: 111px; right: -13px; top: 148px; }
  .hero-art img { width: 108px; }
  .hero-description { max-width: calc(100% - 93px); font-size: 13px; }
  .hero-actions .button { font-size: 11px; padding-inline: 9px; gap: 7px; }
  .feature { padding-inline: 8px; }
  .feature strong { font-size: 9.5px; }
  .feature span { font-size: 8.5px; }
  .sales-grid { gap: 10px; }
  .sales-card { padding-inline: 11px; }
  .card-copy h3 { font-size: 21px; }
  .card-copy p { font-size: 11.5px; }
  .contact h2 { font-size: 30px; }
  .footer-brand img { width: 109px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Final layout safeguards: decorative art must never cover copy or create scroll. */
.site-shell { overflow-x: clip; }
.skip-link { top: 8px; transform: none; }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; padding: 0; }
@media (max-width: 560px) {
  .hero { display: grid; grid-template-columns: minmax(0,1fr) 111px; align-items: center; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .hero h1 { grid-column: 1 / -1; grid-row: 2; }
  .hero-description { grid-column: 1; grid-row: 3; max-width: none; padding-right: 10px; margin-top: 14px; }
  .hero-art { position: relative; grid-column: 2; grid-row: 3; justify-self: end; align-self: center; top: auto; right: -11px; width: 108px; height: auto; margin-top: 15px; }
  .hero-art img { width: 108px; }
  .hero-orbit { display: none; }
  .hero-actions { grid-column: 1 / -1; grid-row: 4; width: 100%; margin-top: 19px; }
  .feature strong { font-size: 11px; line-height: 1.3; }
  .feature span { display: none; }
  .step h3 { font-size: 12px; }
  .step p { font-size: 11px; }
}
@media (max-width: 360px) {
  .hero { grid-template-columns: minmax(0,1fr) 98px; }
  .hero-art, .hero-art img { width: 97px; }
  .hero-description { max-width: none; }
  .feature strong { font-size: 10px; }
}
