/*
Theme Name: Argonmark
Theme URI: https://argonmark.com
Author: Argonmark Ltd
Author URI: https://argonmark.com
Description: One-page marketing theme for Argonmark Ltd — an engineering & supply company in Bangladesh. Brand built on argon (element 18): deep green + brass, Archivo/Saira type, square corners, no gradients. Editable copy, stats, contact details and Formspree endpoint via Appearance → Customize → Argonmark Content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: argonmark
*/

/* =========================================================================
   DESIGN TOKENS  (from design_handoff_argonmark/tokens)
   ========================================================================= */
:root {
  /* Base palette — logo colorway 3e */
  --green-900: #0B2B22;
  --green-700: #0E4D3C;
  --brass-500: #C89B3C;
  --brass-700: #A07A24;
  --cream-100: #F4F1E8;
  --ink-900: #14261F;
  --grey-500: #6B6F73;
  --grey-300: #DDDDD8;
  --white: #FFFFFF;

  /* Muted greens */
  --body-muted-1: #3A4842;   /* on light */
  --body-muted-2: #5A6862;   /* on light */
  --dark-muted-1: #B8C7BF;   /* on dark */
  --dark-muted-2: #8FA69B;   /* on dark */
  --dark-muted-3: #6E837A;   /* on dark */
  --border-dark: #2A4A3E;    /* border on green */

  /* Semantic aliases */
  --brand: var(--green-700);
  --accent: var(--brass-500);
  --surface-page: var(--cream-100);
  --surface-card: var(--white);
  --surface-inverse: var(--green-900);
  --text-primary: var(--ink-900);
  --text-inverse: var(--cream-100);
  --text-accent: var(--brass-700);
  --border-subtle: var(--grey-300);

  /* Type */
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Saira', sans-serif;
  --tracking-wordmark: 0.03em;
  --tracking-label: 0.28em;

  /* Spacing (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  --radius-0: 0px;                 /* square corners everywhere */
  --container: 1200px;
  --gutter: 40px;
}

/* =========================================================================
   RESET / GLOBALS
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: var(--brand); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--brass-700); }

::selection { background: var(--brass-500); color: var(--green-900); }

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

button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Shared label style — brass uppercase */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  color: var(--brass-700);
  text-transform: uppercase;
}
.eyebrow--on-dark { color: var(--brass-500); }

/* Wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: var(--tracking-wordmark);
  line-height: 0.78;
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-0);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn--solid { background: var(--brand); color: var(--cream-100); border: 2px solid var(--brand); }
.btn--solid:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream-100); }
.btn--outline { background: transparent; border: 2px solid var(--brand); color: var(--brand); padding: 13px 30px; }
.btn--outline:hover { background: var(--brand); color: var(--cream-100); }

/* =========================================================================
   NAV
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand-lockup { display: flex; align-items: flex-end; gap: 10px; }
.brand-lockup .wordmark { font-size: 23px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--brand); }
.nav-links .nav-cta {
  background: var(--brand);
  color: var(--cream-100);
  padding: 10px 20px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--green-900); color: var(--cream-100); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span { display: block; height: 2px; background: var(--brand); transition: transform 150ms ease, opacity 150ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 80px;
}
.hero__eyebrow { margin-bottom: 24px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-bottom: 24px;
}
.hero__body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-muted-1);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__panel {
  aspect-ratio: 1 / 1;
  background: var(--surface-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__panel svg { width: 55%; }
.hero__panel .brass-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 10px;
  background: var(--brass-500);
}

/* =========================================================================
   STATS BAR
   ========================================================================= */
.stats {
  background: var(--brand);
  color: var(--cream-100);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--cream-100);
}
.stat__value--accent { color: var(--brass-500); }
.stat__label { font-size: 13px; color: var(--dark-muted-1); margin-top: 8px; }

/* =========================================================================
   SECTION HEADER (shared)
   ========================================================================= */
.section { padding-top: 96px; padding-bottom: 96px; }
.section--dark { background: var(--surface-inverse); color: var(--cream-100); padding-top: 88px; padding-bottom: 88px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 106%;
  font-size: 40px;
  color: var(--brand);
}
.section-title--inverse { color: var(--cream-100); }
.section-head__intro { font-size: 16px; color: var(--body-muted-1); max-width: 420px; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.service-card {
  background: var(--surface-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.service-card__no {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand);
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-900);
  margin-top: 6px;
}
.service-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--body-muted-2); }

/* =========================================================================
   INDUSTRIES
   ========================================================================= */
.industries-head .eyebrow { margin-bottom: 14px; display: block; }
.industries-title { margin-bottom: 44px; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-cell {
  border: 1px solid var(--border-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}
.industry-cell__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--brass-500);
}
.industry-cell__name { font-size: 16px; font-weight: 600; color: var(--cream-100); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about__card {
  aspect-ratio: 4 / 5;
  background: var(--surface-page);
  border: 2px solid var(--brand);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.about__card .wordmark { font-size: 26px; }
.about__card-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brass-700);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.about__card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
}
.about__title { margin-bottom: 24px; }
.about__body { font-size: 17px; line-height: 1.65; color: var(--body-muted-1); margin-bottom: 20px; }
.about__body:last-of-type { margin-bottom: 32px; }
.about__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.about__stat-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.about__stat-sub { font-size: 13px; color: var(--body-muted-2); margin-top: 4px; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { background: var(--brand); color: var(--cream-100); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 106%;
  font-size: 42px;
  color: var(--cream-100);
  margin-bottom: 20px;
  line-height: 1.05;
}
.contact__intro { font-size: 17px; line-height: 1.6; color: var(--dark-muted-1); margin-bottom: 36px; max-width: 440px; }
.contact__rows { display: flex; flex-direction: column; gap: 20px; }
.contact__row { display: flex; align-items: center; gap: 14px; }
.contact__icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brass-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-500);
  font-size: 15px;
  flex-shrink: 0;
}
.contact__row a { color: var(--cream-100); font-size: 17px; }
.contact__row a:hover { color: var(--brass-500); }

/* Form */
.contact-form {
  background: var(--surface-inverse);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--dark-muted-2);
  text-transform: uppercase;
}
.field input,
.field textarea {
  background: var(--brand);
  border: 1px solid var(--border-dark);
  color: var(--cream-100);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: var(--radius-0);
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--dark-muted-3); }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--brass-500); outline-offset: -1px; }
.field--honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-submit {
  background: var(--brass-500);
  color: var(--green-900);
  border: none;
  padding: 15px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease;
}
.form-submit:hover { background: #d8ad52; }
.form-submit:disabled { opacity: 0.6; cursor: default; }

.form-status { font-size: 14px; line-height: 1.5; min-height: 1px; }
.form-status--error { color: var(--brass-500); }
.form-status--success { color: var(--cream-100); }
.field-error { color: var(--brass-500); font-size: 12px; letter-spacing: 0.04em; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--brass-500); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--surface-inverse); color: var(--dark-muted-1); }
.site-footer .container { padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand__lockup { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.footer-brand__lockup .wordmark { color: var(--cream-100); font-size: 22px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brass-500);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col__links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-col__links a { color: var(--dark-muted-1); }
.footer-col__links a:hover { color: var(--brass-500); }
.footer-office { font-size: 14px; line-height: 1.6; }
.footer-office .muted { color: var(--dark-muted-3); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--dark-muted-3);
  flex-wrap: wrap;
}
.footer-signature { height: 14px; background: var(--brand); display: flex; }
.footer-signature__tab { width: 140px; background: var(--brass-500); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-page);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; padding: 14px 20px; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero__title { font-size: 40px; }
  .hero__panel { max-width: 420px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }

  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--dark { padding-top: 64px; padding-bottom: 64px; }
  .section-title, .contact__title { font-size: 32px; }

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

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

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__card { max-width: 360px; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }

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

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
