/*
Theme Name: Big M Marine
Theme URI: https://bigmmarine.site
Author: Big M Marine Pte. Ltd.
Author URI: https://bigmmarine.site
Description: A premium, production-ready corporate WordPress theme built for Big M Marine Pte. Ltd., a Singapore ship chandler and marine supply company. Clean, trustworthy, chart-inspired design system with full Gutenberg support, custom widget areas, and a marine-provisions contact workflow.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bigmmarine
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, e-commerce-ready

Big M Marine WordPress Theme is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */

:root{
  /* Brand palette (fixed by brief) */
  --navy: #003B73;
  --navy-deep: #002548;
  --ocean: #0077B6;
  --accent: #00A6FB;
  --white: #FFFFFF;
  --light-gray: #F4F6F8;

  /* Derived neutrals for legible text on white/gray */
  --ink: #0B2540;
  --ink-soft: #4A5C6E;
  --line: #DFE6EC;
  --line-strong: #C3D0DA;

  /* Feedback */
  --success: #1E8E5A;
  --warn: #C97A1A;

  /* Type */
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-chart: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(56px, 9vw, 120px);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(11,37,64,.06), 0 8px 24px rgba(11,37,64,.07);
  --shadow-hover: 0 4px 10px rgba(11,37,64,.08), 0 16px 36px rgba(11,37,64,.12);
  --max: 1240px;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--ocean); text-decoration: none; transition: color .15s ease; }
a:hover{ color: var(--accent); }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1.1em; }
button{ font-family: inherit; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus{ left: 0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

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

img[loading="lazy"]{ background: var(--light-gray); }

/* ==========================================================================
   2. SIGNATURE — CHART COORDINATE SYSTEM
   Every section is framed like a plotted waypoint on a navigation chart:
   a small mono-spaced "coordinate" eyebrow (real Singapore port bearings /
   log-style references) paired with the heading. Ties every section back
   to the one fact that matters most to a ship chandler: where the vessel is.
   ========================================================================== */

.waypoint{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-chart);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}
.waypoint::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,166,251,.18);
}

.chart-divider{
  display: block;
  width: 100%;
  height: 28px;
  line-height: 0;
}
.chart-divider svg{ width: 100%; height: 100%; display: block; }

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */

.section{ padding: var(--section-y) 0; }
.section--alt{ background: var(--light-gray); }
.section--navy{ background: var(--navy); color: rgba(255,255,255,.92); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section-head{ max-width: 680px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow-inverse .waypoint{ color: var(--accent); }

.grid{ display: grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-6{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 620px){
  .grid-3, .grid-4, .grid-6{ grid-template-columns: 1fr; }
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{ background: var(--accent); color: var(--navy-deep); }
.btn-primary:hover{ background: #22b6ff; color: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover{ background: rgba(255,255,255,.12); color: var(--white); }
.btn-ghost{ background: transparent; border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover{ background: var(--light-gray); color: var(--navy); }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }

/* ==========================================================================
   4. SITE HEADER
   ========================================================================== */

.site-header{
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}
.site-branding{ display: flex; align-items: center; gap: 12px; }
.site-branding a{ display:flex; align-items:center; gap:12px; color: inherit; }
.site-branding .custom-logo{ max-height: 44px; width: auto; }
.brand-mark{
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--ocean) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg{ width: 22px; height: 22px; }
.site-title{ font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0; color: var(--navy); line-height: 1.1; }
.site-title a{ color: var(--navy); }
.site-title a:hover{ color: var(--ocean); }
.site-tagline{ display:block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-chart); }

.primary-nav ul{ display: flex; align-items: center; gap: 30px; }
.primary-nav a{
  color: var(--navy); font-weight: 500; font-size: 15px; padding: 8px 0; position: relative;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after{ transform: scaleX(1); }
.primary-nav .current-menu-item a{ color: var(--ocean); }
.primary-nav ul ul{
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover); padding: 8px; margin-top: 12px; min-width: 200px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .15s ease;
}
.primary-nav li:hover > ul{ opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul ul a{ display:block; padding: 8px 12px; border-radius: 4px; }
.primary-nav ul ul a::after{ display:none; }
.primary-nav ul ul a:hover{ background: var(--light-gray); }
.primary-nav li{ position: relative; }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .header-phone{ font-family: var(--font-chart); font-size: 13.5px; color: var(--navy); display:flex; align-items:center; gap:6px; }
.header-cta .header-phone svg{ width:15px; height:15px; }

.menu-toggle{
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 6px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg{ width: 20px; height: 20px; color: var(--navy); }

@media (max-width: 900px){
  .primary-nav{
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    display: none; padding: 8px var(--gutter) 20px;
  }
  .primary-nav.is-open{ display: block; }
  .primary-nav ul{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .primary-nav ul ul{ position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; margin: 0 0 0 12px; display:none; }
  .primary-nav li.is-open > ul{ display:block; }
  .primary-nav a{ padding: 10px 0; display:block; width:100%; }
  .header-phone{ display: none; }
  .menu-toggle{ display: flex; }
}

/* ==========================================================================
   5. HERO
   ========================================================================== */

.hero{
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--ocean) 130%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner{
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 132px) var(--gutter) clamp(64px, 8vw, 96px);
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-eyebrow{
  font-family: var(--font-chart); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display:flex; align-items:center; gap: 10px; margin-bottom: 18px;
}
.hero-eyebrow::before{ content:""; width: 26px; height: 1px; background: var(--accent); }
.hero h1{
  color: var(--white); font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 20px; max-width: 15ch;
}
.hero p.lede{ font-size: 18px; color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats{ display:flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat b{ display:block; font-family: var(--font-display); font-size: 26px; color: var(--white); }
.hero-stat span{ font-size: 12.5px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }

.hero-panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-panel-title{ font-family: var(--font-chart); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-manifest{ display: flex; flex-direction: column; gap: 14px; }
.hero-manifest li{
  display:flex; justify-content: space-between; align-items:center;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,.18);
  font-size: 14.5px; color: rgba(255,255,255,.88);
}
.hero-manifest li:last-child{ border-bottom:none; padding-bottom:0; }
.hero-manifest .tag{ font-family: var(--font-chart); font-size: 11.5px; color: var(--accent); }

.hero-waves{
  position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1;
}
.hero-waves svg{ width: 100%; height: auto; display:block; }

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. WHY CHOOSE US — ROUTE LINE
   ========================================================================== */

.route{ position: relative; padding-top: 10px; }
.route-line{
  position: absolute; top: 34px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.route-grid{ position: relative; z-index: 1; }
.route-stop{ text-align: left; }
.route-pin{
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ocean);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative;
}
.route-pin::after{ content:""; width:6px; height:6px; border-radius: 50%; background: var(--ocean); }
.route-stop h3{ font-size: 17px; margin-bottom: 6px; }
.route-stop p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   7. SERVICES GRID
   ========================================================================== */

.service-card{ padding: 28px 24px; }
.service-icon{
  width: 46px; height: 46px; border-radius: 9px;
  background: rgba(0,119,182,.09); display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px; color: var(--ocean);
}
.service-icon svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 17px; margin-bottom: 8px; }
.service-card p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   8. PRODUCTS
   ========================================================================== */

.product-card{ overflow: hidden; display:flex; flex-direction: column; }
.product-thumb{
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
}
.product-thumb svg{ position:absolute; inset:0; width:100%; height:100%; opacity:.9; }
.product-thumb .product-cat{
  position:absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--navy);
  font-family: var(--font-chart); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 20px;
}
.product-body{ padding: 20px 22px 24px; flex:1; display:flex; flex-direction:column; }
.product-body h3{ font-size: 16.5px; margin-bottom: 6px; }
.product-body p{ font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; flex:1; }
.product-body .btn{ align-self: flex-start; padding: 9px 16px; font-size: 13.5px; }

/* ==========================================================================
   9. INDUSTRIES SERVED
   ========================================================================== */

.industry-chip{
  display:flex; align-items:center; gap: 14px; padding: 18px 20px;
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-sm);
}
.industry-chip svg{ width: 26px; height: 26px; color: var(--ocean); flex-shrink:0; }
.industry-chip span{ font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--navy); }

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */

.testimonial-card{ padding: 30px 26px; position: relative; }
.testimonial-quote-mark{ font-family: var(--font-display); font-size: 46px; color: var(--accent); line-height:.4; display:block; margin-bottom: 14px; }
.testimonial-card p.quote{ font-size: 15.5px; color: var(--ink); margin-bottom: 20px; }
.testimonial-attrib{ display:flex; align-items:center; gap: 12px; }
.testimonial-avatar{
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-display); font-weight:600; font-size: 14px;
}
.testimonial-attrib b{ display:block; font-size: 14px; color: var(--navy); }
.testimonial-attrib span{ font-size: 12.5px; color: var(--ink-soft); }

/* ==========================================================================
   11. CONTACT CTA / FORM
   ========================================================================== */

.contact-cta-panel{
  background: var(--navy); border-radius: 16px; padding: clamp(32px, 5vw, 56px);
  display:flex; align-items:center; justify-content: space-between; gap: 32px; flex-wrap:wrap;
  color:#fff; position: relative; overflow:hidden;
}
.contact-cta-panel h2{ color:#fff; margin-bottom: 8px; }
.contact-cta-panel p{ color: rgba(255,255,255,.78); margin-bottom:0; max-width: 44ch; }
.contact-cta-actions{ display:flex; gap: 14px; flex-wrap:wrap; }

.manifest-form{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-card);
}
.manifest-form .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.manifest-form .form-row.thirds{ grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px){ .manifest-form .form-row, .manifest-form .form-row.thirds{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap: 6px; }
.field label{ font-size: 12.5px; font-weight:600; color: var(--navy); font-family: var(--font-chart); text-transform: uppercase; letter-spacing:.04em; }
.field input, .field textarea, .field select{
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,119,182,.14); outline:none;
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ==========================================================================
   12. BREADCRUMBS
   ========================================================================== */

.breadcrumbs{
  background: var(--light-gray); border-bottom: 1px solid var(--line);
  padding: 14px 0; font-size: 13px; color: var(--ink-soft);
}
.breadcrumbs a{ color: var(--ink-soft); }
.breadcrumbs a:hover{ color: var(--ocean); }
.breadcrumbs .sep{ margin: 0 8px; color: var(--line-strong); }
.breadcrumbs .current{ color: var(--navy); font-weight: 500; }

/* ==========================================================================
   13. PAGE HEADER (interior pages)
   ========================================================================== */

.page-banner{
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 70%);
  color: #fff; padding: 56px 0 64px;
}
.page-banner h1{ color:#fff; margin-bottom: 10px; font-size: clamp(28px,4vw,42px); }
.page-banner p{ color: rgba(255,255,255,.78); max-width: 60ch; margin-bottom:0; }

/* ==========================================================================
   14. BLOG / ARCHIVE / SINGLE
   ========================================================================== */

.content-layout{ display:grid; grid-template-columns: 2fr 1fr; gap: 48px; }
@media (max-width: 900px){ .content-layout{ grid-template-columns: 1fr; } }

.post-card{ overflow:hidden; margin-bottom: 28px; }
.post-card .post-thumb{ aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--ocean)); }
.post-card-body{ padding: 22px 24px; }
.post-meta{ font-family: var(--font-chart); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ocean); margin-bottom: 8px; }
.post-card h2{ font-size: 21px; margin-bottom: 10px; }
.post-card h2 a{ color: var(--navy); }
.post-card h2 a:hover{ color: var(--ocean); }
.post-excerpt{ color: var(--ink-soft); font-size: 15px; }
.read-more-link{ font-weight:600; font-size: 14px; }

.single-post-header{ margin-bottom: 28px; }
.single-post-header h1{ font-size: clamp(28px,4vw,40px); }
.entry-content{ font-size: 16.5px; }
.entry-content h2{ font-size: 26px; margin-top: 1.6em; }
.entry-content h3{ font-size: 21px; margin-top: 1.4em; }
.entry-content img{ border-radius: var(--radius); margin: 1.2em 0; }
.entry-content blockquote{
  border-left: 3px solid var(--accent); margin: 1.6em 0; padding: 4px 0 4px 22px;
  font-style: italic; color: var(--ink-soft);
}
.entry-content ul, .entry-content ol{ margin: 0 0 1.2em 1.4em; list-style: revert; }
.entry-content a{ text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.tags-links{ margin-top: 32px; padding-top: 20px; border-top:1px solid var(--line); }
.tags-links a{
  display:inline-block; font-size: 12.5px; padding: 6px 12px; border:1px solid var(--line-strong);
  border-radius: 20px; margin: 0 6px 6px 0; color: var(--ink-soft);
}
.tags-links a:hover{ border-color: var(--ocean); color: var(--ocean); }

.widget-area .widget{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.widget-title{ font-family: var(--font-chart); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ocean); margin-bottom: 16px; }
.widget ul li{ padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.widget ul li:last-child{ border-bottom:none; }
.widget select, .widget input[type="search"]{
  width:100%; padding: 10px 12px; border:1px solid var(--line-strong); border-radius: var(--radius-sm);
}

.pagination{ display:flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span{
  display:flex; align-items:center; justify-content:center; min-width: 40px; height: 40px; padding: 0 10px;
  border:1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--navy);
}
.pagination .current{ background: var(--navy); color:#fff; border-color: var(--navy); }
.pagination a:hover{ border-color: var(--ocean); color: var(--ocean); }

/* Comments */
.comments-area{ margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.comment-list{ margin: 24px 0; }
.comment-body{ padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author .fn{ font-weight:600; color: var(--navy); font-style: normal; }
.comment-metadata{ font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.comment-form input, .comment-form textarea{
  width:100%; border:1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 14px; font-family: inherit;
}
.comment-reply-title{ margin-bottom: 18px; }

/* 404 */
.error-404{ text-align:center; padding: 90px 0; }
.error-404 .error-code{ font-family: var(--font-chart); color: var(--accent); font-size: 15px; letter-spacing: .1em; }
.error-404 h1{ font-size: clamp(32px,5vw,54px); }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,.72); }
.footer-top{ padding: 64px 0 48px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .site-title, .footer-brand .site-title a{ color:#fff; }
.footer-brand p{ font-size: 14px; color: rgba(255,255,255,.6); margin: 14px 0 18px; max-width: 34ch; }
.footer-heading{ color:#fff; font-family: var(--font-chart); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ color: rgba(255,255,255,.68); font-size: 14.5px; }
.footer-links a:hover{ color: var(--accent); }
.footer-contact li{ display:flex; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,.72); align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; margin-top:2px; flex-shrink:0; color: var(--accent); }
.footer-hours li{ display:flex; justify-content:space-between; font-size: 13.5px; margin-bottom: 8px; color: rgba(255,255,255,.68); }
.footer-social{ display:flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.footer-social a:hover{ background: var(--accent); border-color: var(--accent); color: var(--navy-deep); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  display:flex; justify-content:space-between; align-items:center; gap: 16px; flex-wrap:wrap;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-bottom-links{ display:flex; gap: 18px; }
.footer-bottom-links a{ color: rgba(255,255,255,.55); }
.footer-bottom-links a:hover{ color: var(--accent); }

/* ==========================================================================
   16. UTILITIES / WP CORE ALIGNMENT SUPPORT
   ========================================================================== */

.alignwide{ margin-left: calc(-1 * var(--gutter) / 2); margin-right: calc(-1 * var(--gutter) / 2); }
.alignfull{ width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.wp-caption-text, .gallery-caption{ font-size: 13px; color: var(--ink-soft); text-align:center; }
.sticky{ }
.bypostauthor{ }

::selection{ background: var(--accent); color: var(--navy-deep); }
