/* TII Trading Inc. — tiiusa.com */
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --navy: #0d1f36;
  --navy-2: #091626;
  --ink: #141820;
  --text: #2c313a;
  --muted: #5f6672;
  --rule: #d6d1c7;
  --rule-light: #e6e2da;
  --paper: #f4f2ed;
  --white: #ffffff;
  --blue: #0a52d6;
  --blue-dark: #083fa6;
  --on-navy: rgba(255, 255, 255, .74);
  --rule-navy: rgba(255, 255, 255, .18);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* type */
h1 {
  font-weight: 600; font-stretch: 92%; font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1; letter-spacing: -0.035em; max-width: 20ch;
}
h2 {
  font-weight: 600; font-stretch: 94%; font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.06; letter-spacing: -0.028em;
}
.kicker {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.kicker span { color: var(--blue); font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--text); }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 24px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .2s;
}
.text-link:hover { color: var(--blue); }
.text-link svg { width: 16px; height: 16px; }

/* utility bar + header */
.utility { background: var(--navy); color: var(--on-navy); font-size: 13px; }
.utility-in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px; }
.utility p:last-child { display: flex; gap: 28px; }
.utility a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.header-in { display: flex; align-items: center; gap: 40px; height: 80px; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; color: var(--ink); }
.wordmark svg { width: 38px; height: 38px; flex: none; }
.wordmark span { font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.wordmark em { font-style: normal; font-weight: 500; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.btn) {
  position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink);
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav > a:not(.btn):hover::after, .nav > a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.nav-toggle { display: none; }

/* hero */
.hero { background: var(--paper); padding: clamp(44px, 5.5vw, 76px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.hero h1 { margin-top: 24px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; margin-top: 28px; }
.hero-row .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero-photo { margin-top: clamp(36px, 4vw, 56px); }
.hero-photo img { width: 100%; }
figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hero-photo figcaption { padding-top: 14px; border-top: 1px solid var(--rule); }

/* section head */
.sec-head { border-top: 1px solid var(--ink); padding-top: 22px; }
.sec-head-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-top: 28px; }
.sec-head h2 { max-width: 22ch; }
.sec-head .intro { color: var(--muted); font-size: 17px; }

/* brands */
.brands { padding: var(--section) 0; }
.brand-index {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.brand-index li + li { border-left: 1px solid var(--rule); }
.brand-index a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; height: 100%; min-height: 176px; padding: 30px 28px 26px; transition: background-color .2s; }
.brand-index a:hover { background: var(--paper); }
.brand-index img { width: auto; height: 30px; }
.brand-index .logo-kp { height: 20px; margin-top: 5px; }
.brand-index .logo-bolt { height: 26px; }
.brand-index .logo-rst { height: 42px; margin-top: -6px; }
.brand-index span { font-size: 14px; font-weight: 500; color: var(--muted); padding-right: 28px; }
.brand-index i { position: absolute; right: 26px; bottom: 26px; width: 18px; height: 18px; color: var(--ink); transition: transform .2s; }
.brand-index a:hover i { transform: translateX(4px); color: var(--blue); }
.brand-index svg { width: 18px; height: 18px; display: block; }

.brand {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: start;
  padding: clamp(56px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule);
}
.brand:last-child { border-bottom: 0; padding-bottom: 0; }
.brand:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.brand:nth-of-type(even) .brand-photo { order: 2; }
.brand-photo img { width: 100%; background: var(--paper); }
.brand-body { padding-top: 6px; }
.brand-cat { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.brand h3 { margin-top: 30px; line-height: 0; }
.brand-logo { width: auto; height: 36px; }
.brand-logo.logo-kp { height: 26px; }
.brand-logo.logo-gb { height: 42px; }
.brand-logo.logo-rst { height: 56px; }
.brand-body > p:not(.brand-cat) { margin-top: 26px; font-size: 17.5px; color: var(--text); max-width: 520px; }
.brand h4 { margin-top: 36px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.ruled { margin-top: 12px; border-top: 1px solid var(--ink); }
.ruled li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.brand .text-link { margin-top: 30px; }

/* quality */
.quality { background: var(--navy); color: var(--on-navy); padding: var(--section) 0; }
.quality .sec-head { border-top-color: rgba(255, 255, 255, .55); }
.quality .kicker, .quality h2 { color: #fff; }
.quality .kicker span { color: #8db1ff; }
.quality .intro { color: var(--on-navy); }
.quality-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.quality-list li { padding: 0 28px 8px; border-left: 1px solid var(--rule-navy); }
.quality-list li:first-child { padding-left: 0; border-left: 0; }
.quality-list span { font-size: 44px; font-weight: 500; font-stretch: 88%; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.quality-list h3 { margin-top: 26px; font-size: 18px; font-weight: 600; color: #fff; }
.quality-list p { margin-top: 10px; font-size: 16px; }

/* about */
.about { background: var(--paper); padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; margin-top: clamp(40px, 5vw, 64px); }
.about-text p { font-size: 18px; }
.about-text p + p { margin-top: 20px; }
.about-text p:first-child { font-size: clamp(20px, 1.7vw, 23px); font-weight: 500; line-height: 1.45; letter-spacing: -0.012em; color: var(--ink); }
.about-photo img { width: 100%; aspect-ratio: 1240 / 340; object-fit: cover; }
.facts { margin-top: 40px; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { font-size: 16.5px; color: var(--ink); }

/* contact */
.contact { padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; margin-top: clamp(40px, 5vw, 64px); }
.office h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.office address { margin-top: 16px; font-size: 21px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.office address strong { font-weight: 600; }
.office .text-link { margin-top: 18px; font-size: 15px; }
.office-list { margin-top: 36px; border-top: 1px solid var(--ink); }
.office-list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.office-list dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.office-list dd { font-size: 16.5px; color: var(--ink); }
.office-list a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; align-content: start; padding: clamp(28px, 3.5vw, 44px); background: var(--paper); border-top: 3px solid var(--navy); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label i { font-style: normal; color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #b9b3a7; border-radius: 0;
  font-size: 16px; color: var(--ink); transition: border-color .2s;
}
.field input, .field select { height: 50px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23141820' stroke-width='1.6'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 4px; }
.form-foot p { flex: 1 1 240px; font-size: 13.5px; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 14.5px; color: var(--navy); font-weight: 500; }
.form-status:empty { display: none; }

/* footer */
.site-footer { background: var(--navy-2); color: var(--on-navy); padding: 72px 0 32px; font-size: 15px; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark em { color: var(--on-navy); }
.site-footer address { margin-top: 22px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--rule-navy); }
.site-footer li + li { margin-top: 9px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-navy); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* 404 */
.notfound { background: var(--paper); padding: clamp(80px, 12vw, 160px) 0; border-bottom: 1px solid var(--rule); }
.notfound h1 { margin-top: 24px; }
.notfound .lead { margin: 24px 0 36px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* responsive */
@media (max-width: 1080px) {
  .brand-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-index li:nth-child(3) { border-left: 0; }
  .brand-index li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .quality-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .quality-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .utility p:first-child { display: none; }
  .utility-in { justify-content: flex-end; }
  .header-in { height: 68px; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--rule);
  }
  .nav-open .nav { display: flex; }
  .nav > a:not(.btn) { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--rule-light); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; height: 50px; font-size: 15px; }
  .hero-row, .sec-head-in, .brand, .brand:nth-of-type(even), .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand:nth-of-type(even) .brand-photo { order: 0; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  h1 { letter-spacing: -0.028em; }
  h2 { letter-spacing: -0.022em; }
  .utility { display: none; }
  .wordmark svg { width: 34px; height: 34px; }
  .wordmark span { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-index a { min-height: 140px; padding: 22px 18px 20px; gap: 24px; }
  .brand-index img { height: 24px; }
  .brand-index .logo-kp { height: 14px; }
  .brand-index .logo-bolt { height: 20px; }
  .brand-index .logo-rst { height: 34px; }
  .brand-index span { font-size: 13px; padding-right: 0; }
  .brand-index i { display: none; }
  .quality-list { grid-template-columns: 1fr; row-gap: 0; }
  .quality-list li, .quality-list li:first-child, .quality-list li:nth-child(3) { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule-navy); }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .form { grid-template-columns: 1fr; padding: 24px 20px; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
