/* ============================================================
   Gottschalk Group LLC — company site

   AFTER EDITING THIS FILE: bump the version in index.html
   (company.css?v=2 -> ?v=3) before uploading. The server sends
   this stylesheet with a long cache lifetime, so without the bump
   returning visitors keep the old CSS against the new HTML — which
   silently renders the page with unstyled markup.

   Standalone stylesheet. Palette sampled from the logo artwork:
   navy #00124d, brand blue #013581, bright blue #1389de, silver #999a9b.
   Light theme by design: the logo is navy-on-white, and the company
   should read differently from the dark product site.
   ============================================================ */

:root {
  --ink:        #0b1533;
  --ink-2:      #3d4a68;
  --navy:       #00124d;
  --brand:      #013581;
  --bright:     #1389de;
  --silver:     #6b7488;
  --muted:      #7b8499;
  --line:       #e4e9f2;
  --line-soft:  #eef2f8;
  --bg:         #ffffff;
  --bg-2:       #f6f8fc;
  --card:       #ffffff;

  --shadow-sm: 0 1px 2px rgba(0,18,77,.05), 0 1px 3px rgba(0,18,77,.04);
  --shadow-md: 0 2px 4px rgba(0,18,77,.04), 0 12px 32px rgba(0,18,77,.07);
  --shadow-lg: 0 4px 8px rgba(0,18,77,.05), 0 24px 60px rgba(0,18,77,.10);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
::selection { background: rgba(19,137,222,.18); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bright); margin: 0 0 18px;
}
.grad { background: linear-gradient(100deg, var(--brand) 0%, var(--bright) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 13px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(0,18,77,.22); }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(1,53,129,.30); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--bright); color: var(--brand); transform: translateY(-1px); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.hdr-logo img { height: 30px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 32px; }
.hdr-nav a { font-size: 15px; font-weight: 500; color: var(--silver); transition: color .18s; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-cta { display: inline-flex; }
.hdr-burger { display: none; background: none; border: 0; padding: 8px; margin: -8px; color: var(--ink); cursor: pointer; }
.hdr-burger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 108px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 78% 18%, rgba(19,137,222,.13), transparent 62%),
    radial-gradient(40% 48% at 12% 4%, rgba(1,53,129,.10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 22px; }
.hero-lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: var(--silver); max-width: 52ch; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Hero visual — supplied photograph. Keeps its natural 3:2 so nothing is cropped. */
.art { position: relative; margin: 0; }
.art-photo {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,18,77,.10);
  box-shadow: 0 30px 70px rgba(0,18,77,.22), 0 4px 12px rgba(0,18,77,.10);
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.sec-head { max-width: 58ch; margin: 0 0 clamp(30px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; margin: 0 0 14px; }
.sec-head p { font-size: 17px; color: var(--silver); margin: 0; }

/* ---------- Product card ---------- */
.work { display: grid; gap: 20px; }
.work-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 34px); align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(19,137,222,.35); }
.work-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: var(--shadow-md); }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.tag {
  font-size: 11.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand); background: rgba(19,137,222,.10); border: 1px solid rgba(19,137,222,.20);
  border-radius: 999px; padding: 5px 11px;
}
.work-card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 0 0 10px; }
.work-card p { font-size: 15.5px; line-height: 1.65; color: var(--silver); margin: 0 0 22px; max-width: 62ch; }
.work-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.work-actions img { height: 44px; width: auto; }
.work-next {
  border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 26px 30px;
  color: var(--muted); font-size: 15px; background: transparent; text-align: center;
}
.work-next strong { color: var(--ink); font-weight: 600; }

/* ---------- Principles ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.val h3 { font-size: 17.5px; font-weight: 650; margin: 0 0 8px; }
.val p { font-size: 15px; line-height: 1.65; color: var(--silver); margin: 0; }
.val-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--bright));
  box-shadow: 0 4px 12px rgba(1,53,129,.22);
}

/* ---------- Contact ---------- */
.contact-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 58%, #0a4a9e 100%);
  border-radius: var(--r-lg); padding: clamp(38px, 5.5vw, 72px) clamp(28px, 5vw, 64px) clamp(52px, 7vw, 92px);
  text-align: center; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; inset: auto -25% -75% -25%; height: 460px; pointer-events: none;
  background: radial-gradient(50% 62% at 50% 100%, rgba(19,137,222,.34), transparent 72%);
}
.contact-card .eyebrow { color: #7fc4ff; }
.contact-card h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; margin: 0 0 14px; }
.contact-card p { color: rgba(255,255,255,.80); font-size: 16.5px; margin: 0 auto 28px; max-width: 54ch; }
.contact-card a.mail { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }
.contact-card a.mail:hover { border-color: #fff; }
.contact-card .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(0,0,0,.20); position: relative; z-index: 1; }
.contact-card .btn-primary:hover { background: #eaf3ff; color: var(--navy); }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.ftr-in { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.ftr-logo img { height: 28px; width: auto; margin-bottom: 12px; }
.ftr-note { font-size: 14px; color: var(--muted); max-width: 34ch; margin: 0; line-height: 1.6; }
/* A single row of links. Was a stack of labelled columns; with only the one
   group left, a vertical strip pinned to the right read as marooned. */
.ftr-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 3.5vw, 40px); }
.ftr-links a { font-size: 14.5px; color: var(--silver); padding: 4px 0; transition: color .18s; }
.ftr-links a:hover { color: var(--bright); }
.ftr-base {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Mobile menu ---------- */
.msheet {
  position: fixed; inset: 0; z-index: 80; background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity .25s;
}
body.menu-open .msheet { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.msheet a { font-size: clamp(26px, 7vw, 38px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); padding: 10px 0; }
.msheet a:hover { color: var(--brand); }
.msheet-x { position: absolute; top: 22px; right: var(--gutter); background: none; border: 0; color: var(--ink); cursor: pointer; }
.msheet-x svg { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .art { max-width: 620px; margin-inline: auto; }
  .vals { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-burger { display: inline-flex; }
  .work-card { grid-template-columns: 1fr; }
  .work-icon { width: 80px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
