/* ==========================================================================
   Clemonic Company Limited — corporate site
   Editorial, warm, credible. Fraunces (display serif) + Inter (UI/body).
   Palette: limestone paper · espresso ink · safety amber.
   ========================================================================== */

/* ------------------------------ Fonts ------------------------------ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-var.woff2') format('woff2');
}

/* ------------------------------ Tokens ------------------------------ */
:root {
  /* color */
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --card: #fffdf9;
  --ink: #201a12;
  --ink-2: #4a4234;
  --muted: #756c5b;
  --line: #e4dccb;
  --line-strong: #d5cbb4;

  --amber: #f0a315;
  --amber-bright: #ffbe3d;
  --amber-deep: #8f5e05;   /* accessible amber for text on paper */

  --dark: #161210;
  --dark-2: #201913;
  --dark-3: #2a2119;
  --cream: #f4eee2;
  --cream-muted: #b4a894;
  --dark-line: rgba(244, 238, 226, 0.11);

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.7rem, 6.2vw, 4.6rem);
  --fs-h2: clamp(1.95rem, 4vw, 2.9rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.02rem, 1.5vw, 1.2rem);

  /* rhythm */
  --container: 74.5rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-pad: clamp(4.5rem, 9vw, 7.75rem);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.85rem;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.25s;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0325rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }

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

::selection { background: var(--amber); color: var(--dark); }

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

/* Anchored sections stop below the fixed header */
section[id], footer[id] { scroll-margin-top: 5.5rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Icon primitive: one family, one stroke */
.i {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--amber);
  color: var(--dark);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.965rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn .i { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.btn:hover .i { transform: translate(2px, -2px); }

.btn-amber {
  background: var(--amber);
  color: #231803;
}
.btn-amber:hover {
  background: var(--amber-bright);
  color: #231803;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px rgba(240, 163, 21, 0.65);
}

.btn-ghost {
  border-color: rgba(244, 238, 226, 0.28);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--dark-3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(32, 26, 18, 0.55);
}

.btn-ghost-dark {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost-dark:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-sm { min-height: 2.6rem; padding: 0.55rem 1.15rem; font-size: 0.9rem; }

/* ------------------------------ Type helpers ------------------------------ */
.eyebrow {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.section { padding-block: var(--section-pad); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-no {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.section-no::after {
  content: '';
  height: 1px;
  width: 3.4rem;
  background: var(--line-strong);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-title em {
  font-style: normal;
  color: var(--amber-deep);
}

.section-sub {
  margin-top: 1.15rem;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 40rem;
}

/* ------------------------------ Reveal motion ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  color: var(--cream);
  background: linear-gradient(rgba(22, 18, 16, 0.6), rgba(22, 18, 16, 0));
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-solid {
  background: rgba(22, 18, 16, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--dark-line), 0 14px 34px -26px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  /* Pads the hit area out to ~44px without changing the header's height. */
  padding-block: 0.22rem;
}
.brand-mark { color: var(--amber); }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.main-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 1.9rem); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.1rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--cream-muted);
  transition: color var(--dur) var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.2rem;
  height: 2px;
  background: var(--amber);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current='true'] { color: var(--cream); }
.main-nav a:hover::after,
.main-nav a[aria-current='true']::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
}
.nav-toggle-bar {
  width: 1.15rem;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 7rem var(--gutter) 3rem;
  background: var(--dark);
  color: var(--cream);
  overflow-y: auto;
}
.mobile-menu ul { display: grid; gap: 0.4rem; }
.mobile-menu li {
  opacity: 0;
  transform: translateY(14px);
  animation: menu-in 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.mobile-menu ul a {
  display: block;
  padding: 0.55rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.5vw, 2.3rem);
  font-weight: 600;
  border-bottom: 1px solid var(--dark-line);
}
.mobile-menu ul a:hover { color: var(--amber-bright); }
.mobile-menu-foot {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
  opacity: 0;
  transform: translateY(14px);
  animation: menu-in 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.mobile-menu-foot p { color: var(--cream-muted); font-size: 0.9rem; }

@keyframes menu-in { to { opacity: 1; transform: none; } }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 30rem at 82% -10%, rgba(240, 163, 21, 0.16), transparent 60%),
    radial-gradient(40rem 26rem at -12% 110%, rgba(240, 163, 21, 0.07), transparent 60%),
    var(--dark);
  color: var(--cream);
  overflow: hidden;
}

.hero-grid-bg,
.cemlink-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 3.6rem 3.6rem;
  -webkit-mask-image: radial-gradient(70rem 42rem at 62% 22%, #000 30%, transparent 78%);
  mask-image: radial-gradient(70rem 42rem at 62% 22%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(8.5rem, 16vh, 11.5rem);
  padding-bottom: clamp(4rem, 8vh, 6.5rem);
}

.hero .eyebrow { margin-bottom: 1.4rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--amber-bright);
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0.02em;
  right: 0.05em;
  bottom: 0.02em;
  height: 0.1em;
  background: linear-gradient(90deg, var(--amber), transparent 96%);
  border-radius: 999px;
  opacity: 0.55;
}

.hero .lead {
  font-size: var(--fs-lead);
  line-height: 1.66;
  color: var(--cream-muted);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-honours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--cream-muted);
}
.hero-honours li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-honours .i { width: 1.05em; height: 1.05em; color: var(--amber); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(240, 163, 21, 0.28);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.85);
}

.hero-card {
  position: absolute;
  left: clamp(-1.25rem, -2vw, -2rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.35rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.65);
}
.hero-card .stat-mini {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--amber-deep);
  line-height: 1;
}
.hero-card span:last-child {
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 550;
  color: var(--ink-2);
}

/* Marquee */
.marquee {
  position: relative;
  border-top: 1px solid var(--dark-line);
  padding-block: 1.05rem;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-list {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-list li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
  white-space: nowrap;
}
.marquee-list li::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-inline: 1.6rem;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.85;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--paper);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
}
.stat dt {
  order: 2;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
}
.stat dd {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-suffix { color: var(--amber-deep); font-size: 0.62em; font-weight: 600; margin-left: 0.1em; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-body p + p { margin-top: 1.35rem; }
.about-body strong { font-weight: 650; }

.values {
  margin-top: 2.4rem;
  display: grid;
  gap: 1rem;
}
.values li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.values .i { color: var(--amber-deep); margin-top: 0.1rem; }
.values strong { color: var(--ink); font-weight: 650; }

.about-side { display: grid; gap: 1.4rem; }
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.cred-card {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.85rem;
  box-shadow: 0 26px 50px -30px rgba(32, 26, 18, 0.6);
}
.cred-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cred-card h3::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
}
.cred-card dl { display: grid; gap: 0.8rem; }
.cred-card div { display: grid; gap: 0.1rem; }
.cred-card dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.cred-card dd { font-size: 0.95rem; font-weight: 500; }

/* ==========================================================================
   Supply
   ========================================================================== */
.supply { background: var(--paper-2); }

.supply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.supply-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.supply-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 44px -28px rgba(32, 26, 18, 0.35);
}

.supply-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(240, 163, 21, 0.14);
  color: var(--amber-deep);
  margin-bottom: 1.3rem;
}
.supply-icon .i { width: 1.65rem; height: 1.65rem; }

.supply-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.supply-card p { font-size: 0.94rem; color: var(--ink-2); flex: 1; }

.tag-row {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag-row li {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
}

.supply-more {
  margin-top: 1.8rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.supply-more span {
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.24rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 550;
  color: var(--ink-2);
}

.serve { margin-top: clamp(3rem, 6vw, 4.5rem); }
.serve-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.serve-title::after { content: ''; height: 1px; flex: 1; background: var(--line-strong); }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem 2rem;
}
.serve-grid li { display: grid; gap: 0.35rem; align-content: start; }
.serve-grid .i { width: 1.7rem; height: 1.7rem; color: var(--amber-deep); margin-bottom: 0.45rem; }
.serve-grid strong { font-weight: 650; font-size: 1rem; }
.serve-grid span { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.service-list { display: grid; }
.service {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0.25rem;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }

.service-no {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber-deep);
  padding-top: 0.2rem;
}
.service h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.service p { font-size: 0.96rem; color: var(--ink-2); max-width: 30rem; }

.services-media { display: grid; gap: 1.2rem; }
.services-media figure:nth-child(2) { margin-left: clamp(1.5rem, 4vw, 3rem); }
.services-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -30px rgba(32, 26, 18, 0.5);
}

/* ==========================================================================
   Awards
   ========================================================================== */
.awards {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}
.awards-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46rem 26rem at 18% 0%, rgba(240, 163, 21, 0.14), transparent 62%),
    radial-gradient(40rem 30rem at 95% 100%, rgba(240, 163, 21, 0.07), transparent 60%);
  pointer-events: none;
}
.awards .container { position: relative; }
.awards .section-no { color: var(--amber); }
.awards .section-no::after { background: var(--dark-line); }
.awards .section-sub { color: var(--cream-muted); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 58rem;
}

.award-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.award-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 163, 21, 0.4);
}

.award-card figure {
  border-radius: calc(var(--radius-lg) - 0.55rem);
  overflow: hidden;
  background: linear-gradient(160deg, #3a2f22, #241c13);
}
.award-card img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.award-card:hover img { transform: scale(1.045); }

.award-meta {
  align-self: center;
  padding-right: 0.4rem;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}
.award-year {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(240, 163, 21, 0.16);
  color: var(--amber-bright);
}
.award-meta h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}
.award-meta p { font-size: 0.9rem; color: var(--cream-muted); }

.awards-note {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--cream-muted);
}

/* ==========================================================================
   Cemlink
   ========================================================================== */
.cemlink { padding-top: 0; }

.cemlink-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(42rem 26rem at 100% 0%, rgba(240, 163, 21, 0.17), transparent 58%),
    var(--dark);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5.5vw, 4.25rem);
  overflow: hidden;
  box-shadow: 0 40px 80px -44px rgba(32, 26, 18, 0.75);
}
.cemlink-panel .cemlink-grid-bg {
  -webkit-mask-image: radial-gradient(50rem 34rem at 80% 10%, #000 25%, transparent 75%);
  mask-image: radial-gradient(50rem 34rem at 80% 10%, #000 25%, transparent 75%);
}

.cemlink-copy { position: relative; }
.cemlink-copy .eyebrow { margin-bottom: 1.1rem; }
.cemlink-copy .lead {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--cream-muted);
  max-width: 30rem;
}

.cemlink-features {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.6rem;
}
.cemlink-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--cream-muted);
  line-height: 1.5;
}
.cemlink-features .i { color: var(--amber); margin-top: 0.1rem; }
.cemlink-features strong { color: var(--cream); font-weight: 650; }

.cemlink-cta {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.cemlink-note { font-size: 0.85rem; color: var(--cream-muted); }

.cemlink-phone-wrap {
  position: relative;
  display: grid;
  justify-items: center;
}
.cemlink-phone {
  position: relative;
  width: min(17.5rem, 78%);
  border-radius: 2.6rem;
  padding: 0.6rem;
  background: #0c0906;
  border: 1px solid rgba(244, 238, 226, 0.16);
  box-shadow:
    0 50px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 6px rgba(244, 238, 226, 0.04);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.cemlink-panel:hover .cemlink-phone { transform: rotate(0deg) translateY(-4px); }
.cemlink-phone img { border-radius: 2rem; }
.phone-notch {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 1.05rem;
  border-radius: 999px;
  background: #0c0906;
  z-index: 2;
}

/* ==========================================================================
   Anchora
   ========================================================================== */
.anchora { background: var(--paper-2); }
.anchora-head { max-width: 50rem; }
.anchora .section-sub em { font-style: italic; font-family: var(--font-display); color: var(--amber-deep); }

.anchora-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}
.ag {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-column: span 4;
}
.ag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.65s var(--ease);
}
.ag:hover img { transform: scale(1.05); }
.ag-wide { grid-column: span 8; }
.ag-wide img { aspect-ratio: 16 / 8.4; }
.ag:nth-child(2) img { aspect-ratio: auto; }

.ag figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(22, 18, 16, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.anchora-foot {
  margin-top: clamp(2.2rem, 4.5vw, 3.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding: 1.6rem 1.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.anchora-logo { width: clamp(9.5rem, 16vw, 12.5rem); height: auto; }
.anchora-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ==========================================================================
   Leadership
   ========================================================================== */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.leader {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  align-items: center;
  padding: 1.45rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.leader:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -28px rgba(32, 26, 18, 0.35);
}
.leader-avatar {
  grid-row: 1 / 3;
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 163, 21, 0.15);
  border: 1px solid rgba(240, 163, 21, 0.4);
  color: var(--amber-deep);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.leader h3 {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  align-self: end;
}
.leader p { font-size: 0.86rem; color: var(--muted); align-self: start; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-list { display: grid; gap: 1.3rem; max-width: 30rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.contact-list .i { width: 1.5rem; height: 1.5rem; color: var(--amber-deep); margin-top: 0.15rem; }
.contact-list strong { display: block; font-weight: 650; margin-bottom: 0.15rem; }
.contact-list a {
  display: block;
  color: var(--ink-2);
  padding-block: 0.12rem;
  transition: color var(--dur) var(--ease);
}
.contact-list a:hover { color: var(--amber-deep); }
.contact-list span { color: var(--ink-2); }

.contact-card {
  position: sticky;
  top: 6.5rem;
  background:
    radial-gradient(30rem 20rem at 100% 0%, rgba(240, 163, 21, 0.16), transparent 60%),
    var(--dark);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.8rem);
  box-shadow: 0 36px 70px -40px rgba(32, 26, 18, 0.7);
}
.contact-card-inner { display: grid; gap: 1.1rem; justify-items: start; }
/* Two CTAs side by side, wrapping to a stack when the card gets narrow. */
.contact-card-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.contact-pin { width: 2.6rem; height: 2.6rem; color: var(--amber); stroke-width: 1.5; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}
.contact-card > .contact-card-inner > p { color: var(--cream-muted); }
.contact-alt { font-size: 0.9rem; color: var(--cream-muted); }
.contact-alt a {
  color: var(--amber-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 190, 61, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand { display: grid; gap: 1.1rem; justify-items: start; align-content: start; }
.footer-brand p { color: var(--cream-muted); font-size: 0.94rem; max-width: 21rem; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--cream-muted);
  padding: 0.45rem 0.9rem 0.45rem 0.6rem;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-social:hover { color: var(--amber-bright); border-color: rgba(240, 163, 21, 0.45); }

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-col span {
  font-size: 0.94rem;
  color: var(--cream);
  opacity: 0.86;
}
.footer-col a { transition: color var(--dur) var(--ease); display: inline-block; padding-block: 0.1rem; }
.footer-col a:hover { color: var(--amber-bright); opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: 0.84rem;
  color: var(--cream-muted);
}
.footer-tag { font-family: var(--font-display); font-style: italic; }

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: #231803;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(240, 163, 21, 0.7);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.to-top:hover { transform: translateY(-3px); background: var(--amber-bright); }
.to-top .i { width: 1.2rem; height: 1.2rem; }
.to-top[hidden] { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 68rem) {
  .supply-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { max-width: none; }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 60rem) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Comfortable ~44px tap targets for the links people actually tap on a
     phone — the phone numbers, the email, and the footer navigation. */
  .contact-list a { padding-block: 0.55rem; }
  .footer-col a { padding-block: 0.6rem; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 7.5rem; }
  .hero-figure { max-width: 30rem; }
  .hero-figure img { aspect-ratio: 4 / 3.4; }
  .hero-card { left: 1rem; bottom: 1rem; padding: 0.8rem 1.1rem; }

  .about-grid,
  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }

  .awards-grid { grid-template-columns: 1fr; }
  .award-card { max-width: 34rem; }

  .cemlink-panel { grid-template-columns: 1fr; }
  .cemlink-phone { transform: rotate(0); }

  .anchora-gallery { grid-template-columns: repeat(6, 1fr); }
  .ag, .ag-wide { grid-column: span 6; }
  .ag:nth-child(n + 3) { grid-column: span 3; }
}

@media (max-width: 40rem) {
  body { font-size: 1rem; }

  /* Long button labels wrap instead of forcing the layout wider than a
     small phone (320px). Without this the "Open in Google Maps" pill sets a
     min-content width the contact card can't shrink below. The tighter
     padding keeps most labels on one line even at 320px. */
  .btn { white-space: normal; padding-inline: 1.15rem; }
  .contact-card { padding: 1.85rem 1.5rem; }
  .anchora-foot { padding: 1.5rem 1.25rem; }

  .header-inner { height: 4.1rem; }
  .header-actions .btn-sm { display: none; }

  .hero-cta .btn { flex: 1 1 auto; }

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

  .supply-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr; }

  .service { gap: 1rem; }

  .award-card { grid-template-columns: 1fr; }
  .award-card img { min-height: 0; max-height: 22rem; }
  .award-meta { padding: 0.2rem 0.4rem 0.5rem; }

  .cemlink-features { grid-template-columns: 1fr; }

  .anchora-gallery { grid-template-columns: 1fr; gap: 0.9rem; }
  .ag, .ag-wide, .ag:nth-child(n + 3) { grid-column: auto; }
  .anchora-foot { justify-content: center; text-align: center; }
  .anchora-actions { justify-content: center; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }

  .to-top { right: 1rem; bottom: 1rem; }
}

/* Narrowest phones (Galaxy Fold cover screen, older Androids): drop a couple
   of optional words so long button labels stay on one line. */
@media (max-width: 22.5rem) {
  .hide-xs { display: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .mobile-menu li, .mobile-menu-foot { animation: none; opacity: 1; transform: none; }
  .cemlink-phone { transform: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
