/* Shine Bimetal LLC. Site styles, shared by every page.
   Built by Computer Medic Repair & Service LLC, 2026-11-24. */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/jost-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #000;
  --slate: #3e4243;          /* sampled from the product photo background */
  --band: #f2f3f3;
  --rule: #d4d6d6;
  --field: #7d8385;          /* form field borders */
  --gold: #d8b04a;
  --sterling: #dfe0e1;
  --gold-face: #e2cfa4;      /* sampled from the gold face in the photo */
  --sterling-face: #e4dfd9;  /* sampled from the sterling face in the photo */
  --error: #a3261c;
  --font: 'Jost', 'Century Gothic', 'Futura', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--slate); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }

/* Skip link: hidden until keyboard focus */
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: #000; color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap.narrow { max-width: 892px; }

.rule { height: 8px; border-top: 2px solid var(--gold); background: var(--sterling); }

/* ---------- Header ---------- */
.site-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; padding-top: 28px; padding-bottom: 20px;
}
.site-header .logo { display: block; }
.site-header .logo img { width: 300px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .tel { font-weight: 500; }

/* ---------- Type ---------- */
h1 { font-size: clamp(34px, 5vw + 12px, 68px); line-height: 1.06; font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 2vw + 22px, 38px); line-height: 1.15; font-weight: 300; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 500; }
.lede { margin-top: 28px; max-width: 34em; font-size: 21px; line-height: 1.5; color: var(--slate); }
.note { font-size: 15px; color: var(--slate); }

.btn {
  display: inline-block; background: #000; color: #fff; text-decoration: none;
  padding: 15px 26px; font: inherit; font-weight: 500; line-height: 1.6;
  border: 0; border-radius: 3px; cursor: pointer;
}
.btn:hover { background: var(--slate); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Home: hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: 72px; padding-bottom: 80px; }
.hero > * { flex: 1 1 440px; min-width: 0; }
.hero img { width: 100%; max-width: 640px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.actions a:not(.btn) { padding: 12px 0; }
figcaption { margin-top: 12px; font-size: 15px; color: var(--slate); }

/* ---------- Home: one sheet, two metals ---------- */
.band-dark { background: var(--slate); color: #fff; }
.two-metals { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: 80px; padding-bottom: 80px; }
.two-metals .copy { flex: 1 1 400px; min-width: 0; }
.two-metals .copy p { max-width: 34em; }
.two-metals .copy h2 { margin-bottom: 20px; }
.two-metals .copy p + p { margin-top: 16px; }
.faces { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.face-chip { aspect-ratio: 2 / 1; }
.face-chip.gold { background: var(--gold-face); }
.face-chip.sterling { background: var(--sterling-face); }
.face h3 { margin-top: 14px; }
.face p { font-size: 16px; line-height: 1.45; color: var(--sterling); }

/* ---------- Home: sizes, specifications, history ---------- */
.split { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-top: 88px; scroll-margin-top: 0; }
.split.last { padding-bottom: 96px; }
.split > .side { flex: 1 1 260px; min-width: 0; }
.split > .main { flex: 3 1 560px; min-width: 0; }
.split .side p { margin-top: 16px; color: var(--slate); }
.split .main > p { max-width: 34em; }
.split .main > * + p { margin-top: 24px; }
.split .main > p.order-line { max-width: none; }
.split .main > p + p.note { margin-top: 16px; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td {
  text-align: left; vertical-align: top; padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.5;
}
th { font-weight: 500; }
td { font-weight: 400; }
thead th { border-bottom: 2px solid #000; }
.sizes th:first-child { width: 22%; }
.sizes th:nth-child(2) { width: 46%; }
.specs tr:first-child > * { border-top: 2px solid #000; }
.specs th { width: 34%; }

/* ---------- Home: trade account band ---------- */
.band-light { background: var(--band); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; padding-top: 72px; padding-bottom: 72px; }
.cta .copy { flex: 1 1 440px; min-width: 0; }
.cta .copy p { margin-top: 16px; max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: 48px; padding-bottom: 40px; font-size: 16px; }
.site-footer > div { flex: 1 1 240px; min-width: 0; }
.site-footer .legal { flex-basis: 100%; color: var(--slate); }
.site-footer a { display: inline-block; padding: 6px 0; }
.site-footer strong { font-weight: 500; }
.site-footer > div:first-child { padding-top: 6px; }

/* ---------- Inner pages: privacy policy, page not found ---------- */
.page-head { padding-top: 64px; }
.page-head h1 { font-size: clamp(34px, 4vw + 14px, 56px); }
.page-head .lede { margin-top: 20px; }

.doc { padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(34px, 4vw + 14px, 56px); }
.doc h2 { font-size: 26px; font-weight: 400; margin-top: 44px; }
.doc p, .doc ul { margin-top: 12px; max-width: 40em; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc .updated { color: var(--slate); }
.doc .actions { margin-top: 32px; }

/* ---------- Trade account application ---------- */
.form-section { padding-top: 56px; }
.form-section h2 { font-size: 30px; }
.section-desc { margin-top: 8px; color: var(--slate); max-width: 34em; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

.field-row { display: grid; gap: 20px; margin-top: 20px; }
.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.field-row.cols-2-1 { grid-template-columns: 2fr 1fr; }
.field-group { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.field-label { font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 6px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 17px; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: 3px; padding: 12px 14px;
  -webkit-appearance: none; appearance: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #000; outline-offset: 1px; border-color: #000; }
input.error, select.error, textarea.error { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
::placeholder { color: #6f7577; opacity: 1; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
textarea { resize: vertical; min-height: 88px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.radio-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.radio-opt input { width: 20px; height: 20px; margin: 0; accent-color: #000; cursor: pointer; }
.radio-opt input.error { outline: 2px solid var(--error); outline-offset: 2px; }

.ref-block { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.ref-block .field-row { margin-top: 12px; }

.sig-legal { margin-top: 20px; padding: 20px 24px; background: var(--band); font-size: 17px; line-height: 1.55; }
.sig-legal strong, .agree-row strong { font-weight: 500; }

.sig-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sig-tab {
  font: inherit; font-size: 16px; font-weight: 500; padding: 10px 18px; cursor: pointer;
  background: #fff; color: #000; border: 1px solid #000; border-radius: 3px;
}
.sig-tab.active { background: #000; color: #fff; }

.sig-canvas-wrap, .sig-type-wrap { margin-top: 12px; border: 1px solid var(--field); border-radius: 3px; background: #fff; }
.sig-canvas-wrap.hidden, .sig-type-wrap.hidden { display: none; }
#sigCanvas { display: block; width: 100%; height: 180px; cursor: crosshair; touch-action: none; }
.sig-type-wrap { padding: 20px; }
.sig-preview {
  display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 16px 0 0;
  font-family: 'Snell Roundhand', 'Segoe Script', 'Brush Script MT', cursive;
  font-size: 40px; line-height: 1.2; text-align: center; overflow-wrap: anywhere;
}
.sig-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-top: 10px; }
.sig-clear {
  font: inherit; font-size: 16px; color: #000; background: none; border: 0; padding: 8px 0;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sig-hint { font-size: 15px; color: var(--slate); }

.agree-row { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 20px 24px; background: var(--band); }
.agree-row input { flex-shrink: 0; width: 22px; height: 22px; margin: 3px 0 0; accent-color: #000; cursor: pointer; }
.agree-row label { font-size: 17px; line-height: 1.5; cursor: pointer; }

.submit-wrap { padding-top: 40px; }
.submit-note { margin-top: 16px; font-size: 16px; color: var(--slate); max-width: 34em; }

.audit { margin-top: 48px; margin-bottom: 96px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--slate); overflow-wrap: anywhere; }

/* Result dialog */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.6); }
.modal-overlay.active { display: flex; }
.modal { width: 100%; max-width: 520px; padding: 40px 36px; background: #fff; border-top: 2px solid var(--gold); }
.modal h2 { font-size: 30px; }
.modal p { margin-top: 12px; }
.modal .btn { margin-top: 24px; }
.modal-note { margin-top: 16px; font-size: 15px; color: var(--slate); }

/* Status message */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 200;
  width: fit-content; max-width: min(34em, calc(100% - 32px)); margin: 0 auto; padding: 14px 22px; border-radius: 3px;
  background: #000; color: #fff; font-size: 16px; text-align: center;
  opacity: 0; pointer-events: none;
}
.toast.show { opacity: 1; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 12px; }
  .site-header .logo img { width: 230px; }
  .site-nav { gap: 0 22px; font-size: 17px; }
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .lede { font-size: 19px; }
  .two-metals, .cta { padding-top: 56px; padding-bottom: 56px; }
  .faces { gap: 16px; }
  .split { padding-top: 64px; }
  .split.last { padding-bottom: 72px; }
  th, td { padding: 12px 14px 12px 0; font-size: 16px; }
  .specs th { width: 40%; }
  .field-row.cols-2, .field-row.cols-3, .field-row.cols-2-1 { grid-template-columns: 1fr; }
  .sig-legal, .agree-row { padding: 16px; }
  .modal { padding: 32px 24px; }
}

/* ---------- Print ---------- */
@media print {
  .skip, .site-nav, .rule, .site-footer, .sig-tabs, .sig-actions, .submit-wrap, .toast, .modal-overlay { display: none !important; }
  body { font-size: 12pt; }
  .band-dark { background: #fff; color: #000; }
  .face p { color: #000; }
}
