/*
Theme Name: OctoFulfill
Theme URI: https://octofulfill.com/
Author: OctoFulfill
Author URI: https://octofulfill.com/
Description: A conversion-focused single-page WordPress theme for custom kitting, crowdfunding fulfillment, corporate gift fulfillment, and event swag fulfillment from China.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: octofulfill
*/

:root {
  --ink: #112033;
  --charcoal: #191919;
  --muted: #607086;
  --soft: #f5f8fc;
  --line: #d9e3ef;
  --blue: #1265e8;
  --blue-strong: #0b4fb8;
  --green: #0aa970;
  --aqua: #00a6d6;
  --amber: #ff9f1a;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(12, 13, 14, 0.15);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 168px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #43546b;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--blue-strong);
  background: #eef5ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn.primary {
  color: #171717;
  background: var(--amber);
  box-shadow: 0 12px 28px rgba(255, 159, 26, 0.28);
}

.btn.primary:hover,
.btn.primary:focus {
  background: #ffb340;
}

.btn.secondary {
  color: var(--blue-strong);
  border-color: #b9d5ff;
  background: #f4f8ff;
}

.btn.secondary:hover,
.btn.secondary:focus {
  border-color: var(--blue);
  background: #eaf3ff;
}

.btn.green {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(10, 169, 112, 0.2);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn.compact {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

.section {
  padding: 88px 0;
}

.section.tight {
  padding: 58px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.hero-photo {
  position: relative;
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  background: #101010;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.62)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.05) 58%);
}

.hero-photo-content {
  position: relative;
  z-index: 1;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero-photo-content h1 {
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-photo-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.hero-copy .lead {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mini-proof li {
  padding: 9px 12px;
  border: 1px solid #cfe0f5;
  border-radius: var(--radius);
  color: #3d516c;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  border: 1px solid #d6e4f3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dashboard-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(86%, 380px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.2);
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e3edf8;
  font-size: 13px;
}

.dashboard-row:last-child {
  border-bottom: 0;
}

.status {
  color: var(--amber);
  font-weight: 800;
}

.dark-feature {
  position: relative;
  padding: 56px 0 110px;
  color: var(--white);
  background: var(--charcoal);
}

.dark-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 70px;
  align-items: start;
}

.dark-feature h2 {
  max-width: 520px;
  color: var(--white);
}

.dark-feature h2::first-line {
  color: var(--white);
}

.dark-feature h2 em,
.dark-feature .accent {
  color: var(--amber);
  font-style: normal;
}

.dark-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dark-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  columns: 2;
  column-gap: 28px;
}

.dark-copy p {
  break-inside: avoid;
}

.service-float-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  margin-bottom: -178px;
}

.visual-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 220ms ease, opacity 220ms ease;
}

.visual-card:hover img {
  transform: scale(1.04);
  opacity: 0.72;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.74));
}

.visual-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
}

.visual-card h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 18px;
}

.visual-card span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.first-white {
  padding-top: 156px;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card.highlight {
  border-color: #b9d5ff;
  background: #f4f8ff;
}

.card p,
.case-card p,
.resource-card p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #7a4a00;
  background: #fff1d6;
  font-size: 12px;
  font-weight: 800;
}

.tag.green {
  color: #087a54;
  background: #e7f8f1;
}

.tag.amber {
  color: #875900;
  background: #fff4d8;
}

.feature-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: #3d516c;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.07);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body {
  padding: 22px;
}

.text-link {
  color: var(--blue-strong);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.step {
  min-height: 170px;
  padding: 18px;
  border: 1px solid #cfe0f5;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  color: var(--white);
  color: #171717;
  background: var(--amber);
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #30445f;
  background: #f3f7fc;
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
}

.resource-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #30445f;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd8e6;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 101, 232, 0.16);
  border-color: var(--blue);
  background: var(--white);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #b7ead7;
  border-radius: var(--radius);
  color: #075f42;
  background: #ecfbf6;
  font-weight: 750;
}

.form-message.is-visible {
  display: block;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
}

.cta-panel {
  padding: 38px;
  border: 1px solid #b9d5ff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f2f8ff, #ffffff 50%, #ecfbf6);
  box-shadow: 0 16px 44px rgba(16, 42, 67, 0.08);
}

.cta-panel.dark {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, #0a2a52, #0d5bd7);
}

.cta-panel.dark p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 72px 0 54px;
  background: linear-gradient(135deg, #f7f7f5, #ffffff 58%, #fff7eb);
  border-bottom: 1px solid var(--line);
}

.articles-hero {
  padding: 78px 0 58px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(25, 25, 25, 0.96), rgba(25, 25, 25, 0.82)),
    url("assets/images/scene-warehouse.jpg") center / cover;
}

.articles-hero h1,
.articles-hero p {
  color: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 42, 67, 0.08);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-body {
  padding: 22px;
}

.article-meta {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pagination-wrap {
  margin-top: 34px;
}

.page-content {
  max-width: 880px;
}

.site-footer {
  padding: 56px 0 34px;
  color: #dce8f6;
  background: #102a43;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-logo {
  width: 176px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: #b7c7da;
  font-size: 14px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 15px;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .dark-feature-grid {
    grid-template-columns: 1fr;
  }

  .grid.four,
  .workflow,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dark-copy {
    columns: 1;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 66px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .brand img {
    width: 146px;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-photo-content {
    min-height: 520px;
    padding: 72px 0;
  }

  .section {
    padding: 64px 0;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .workflow,
  .service-float-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-float-grid {
    margin-bottom: -120px;
  }

  .first-white {
    padding-top: 126px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-shell {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions,
  .mini-proof {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .dashboard-card {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .card,
  .cta-panel,
  .form-panel {
    padding: 20px;
  }
}
