/* ============================================================
   Seaway Provisions FZCO — design system
   Palette: deep ocean navy + brass gold. Trust, global reach.
   Type:  Fraunces (display)  ·  Inter (body)  ·  IBM Plex Mono (data)
   Signature: nautical-chart hairline motif + bunker-barge SVG
   ============================================================ */

:root {
  /* ---- colour ---- */
  --abyss:    #07172a;   /* deepest navy — dark section ground   */
  --hull:     #0c2740;   /* mid navy panel                       */
  --hull-2:   #103453;   /* raised navy panel                    */
  --tide:     #1d5a7a;   /* ocean line / hover                   */
  --signal:   #4bb6cf;   /* live status cyan                     */
  --gold:     #c8a24c;   /* brass gold accent                    */
  --gold-2:   #e3c477;   /* lit gold                             */
  --mist:     #eef3f8;   /* light page ground                    */
  --paper:    #f8fafc;   /* card ground on light                 */
  --ink:      #0a1726;   /* text on light                        */
  --slate:    #51677d;   /* muted text on light                  */
  --fog:      #9db2c6;   /* muted text on dark                   */
  --line:     #d7e0ea;   /* hairline on light                   */
  --line-dk:  rgba(200,162,76,.22); /* hairline on dark (gold)   */
  --line-dk2: rgba(157,178,198,.16);/* hairline on dark (slate)  */

  /* ---- type ---- */
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ---- metrics ---- */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 3px;
}

/* ============================================================ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--abyss); }

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

/* ============================================================ layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(58px, 8vw, 110px); }
.section-dark  { background: var(--abyss); color: #dfe8f1; }
.section-navy  { background: var(--hull);  color: #dfe8f1; }
.section-light { background: var(--mist);  color: var(--ink); }
.section-paper { background: #fff;          color: var(--ink); }

/* ---- the signature nautical-chart hairline (used as a divider eyebrow) ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 0;
  border-top: 1px solid var(--gold);
  position: relative;
}
.section-light .eyebrow, .section-paper .eyebrow { color: var(--tide); }
.section-light .eyebrow::before, .section-paper .eyebrow::before { border-color: var(--tide); }

/* ============================================================ type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); font-optical-sizing: auto; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.h-sm { font-size: clamp(1.18rem, 1.8vw, 1.4rem); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--slate); max-width: 60ch; }
.section-dark .lead, .section-navy .lead { color: var(--fog); }
.muted { color: var(--slate); }
.section-dark .muted, .section-navy .muted { color: var(--fog); }
em.gold { color: var(--gold); font-style: normal; }
strong { font-weight: 600; }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--abyss); font-weight: 600; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #eaf1f7; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: #fff; }

/* ============================================================ utility bar */
.util {
  background: var(--abyss);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line-dk2);
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.util a:hover { color: var(--gold-2); }
.util .util-right { display: flex; gap: 22px; }
@media (max-width: 720px){ .util .util-left { display:none; } .util .wrap{ justify-content:center; } }

/* ============================================================ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,23,42,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dk);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .mark { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-family: var(--display); font-size: 1.12rem; color: #fff; font-weight: 500; letter-spacing: .01em; }
.brand-txt span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; margin-top:3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #c4d3e2; padding: 6px 0; position: relative;
}
.nav-links a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px; background: var(--gold);
  transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: #fff; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display:none; background:none; border:1px solid var(--line-dk); border-radius:var(--radius); width:42px; height:38px; color:#eaf1f7; }
.nav-toggle svg{ margin:auto; }
@media (max-width: 900px){
  .nav-links{
    position: fixed; inset: 110px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--abyss); padding: 18px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-dk);
    transform: translateY(-130%); transition: transform .3s ease; visibility:hidden;
  }
  .nav-links.open{ transform: translateY(0); visibility:visible; }
  .nav-links a{ padding: 12px 0; width:100%; border-bottom:1px solid var(--line-dk2); font-size:14px; }
  .nav-links a::after{ display:none; }
  .nav-cta{ margin: 10px 0 0; }
  .nav-toggle{ display:flex; }
}

/* ============================================================ ticker */
.ticker {
  background: var(--hull);
  border-bottom: 1px solid var(--line-dk);
  overflow: hidden; position: relative;
}
.ticker::before, .ticker::after{
  content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.ticker::before{ left:0; background: linear-gradient(90deg, var(--hull), transparent); }
.ticker::after { right:0; background: linear-gradient(270deg, var(--hull), transparent); }
.ticker-track {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
  padding-block: 11px;
  animation: marquee 46s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state: paused; }
.tk {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px; padding: 0 26px;
  border-right: 1px solid var(--line-dk2); color: var(--fog);
}
.tk b { color: #eaf1f7; font-weight: 600; }
.tk .dot{ width:6px; height:6px; border-radius:50%; background: var(--signal); box-shadow:0 0 0 3px rgba(75,182,207,.18); }
.tk .dot.amber{ background: var(--gold-2); box-shadow:0 0 0 3px rgba(227,196,119,.18); }
.tk .grade{ color: var(--gold-2); }
@keyframes marquee { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation: none; } }

/* ============================================================ hero */
.hero { background: var(--abyss); color:#e7eef6; position: relative; overflow: hidden; border-bottom:1px solid var(--line-dk); }
.hero .wrap{ position: relative; z-index: 2; padding-block: clamp(54px, 8vw, 96px); }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,56px); align-items:center; }
.hero-coords{
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--gold);
  display:flex; align-items:center; gap:10px; margin-bottom: 22px;
}
.hero-coords .pin{ color: var(--signal); }
.hero h1{ margin-bottom: 22px; }
.hero h1 .sub{ display:block; color: var(--gold-2); font-size:.58em; margin-top:.18em; letter-spacing:0; }
.hero p.lead{ color:#c0d0e0; margin-bottom: 30px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-art{ position: relative; }
.hero-bg-soundings{ position:absolute; inset:0; z-index:0; opacity:.5; }
@media (max-width: 880px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width:520px; }
}

/* ============================================================ stats strip */
.stats{ background: var(--hull); border-block:1px solid var(--line-dk); }
.stats .wrap{ display:grid; grid-template-columns: repeat(4,1fr); }
.stat{ padding: 30px 26px; border-right:1px solid var(--line-dk2); }
.stat:last-child{ border-right:0; }
.stat .n{ font-family: var(--display); font-size: clamp(1.8rem,3vw,2.5rem); color:#fff; line-height:1; }
.stat .n em{ color: var(--gold); font-style:normal; }
.stat .l{ font-family: var(--mono); font-size: 11px; letter-spacing:.12em; text-transform:uppercase; color: var(--fog); margin-top:10px; }
@media (max-width: 760px){
  .stats .wrap{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2){ border-right:0; }
  .stat:nth-child(1),.stat:nth-child(2){ border-bottom:1px solid var(--line-dk2); }
}

/* ============================================================ generic section head */
.shead{ max-width: 760px; margin-bottom: 48px; }
.shead.center{ margin-inline:auto; text-align:center; }
.shead.center .eyebrow{ justify-content:center; }
.shead .h-lg{ margin-bottom: 18px; }

/* ============================================================ two-col feature */
.feature{ display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,64px); align-items:center; }
.feature.flip .feature-media{ order:2; }
.feature-body h2{ margin-bottom: 20px; }
.feature-body p{ margin-bottom: 16px; }
.feature-list{ list-style:none; padding:0; margin: 22px 0 0; display:grid; gap: 14px; }
.feature-list li{ display:flex; gap:13px; align-items:flex-start; }
.feature-list .tick{ flex:none; width:20px; height:20px; margin-top:3px; color: var(--gold); }
.feature-tag{
  position:absolute; bottom: 16px; left:16px; right:16px;
  background: rgba(7,23,42,.82); backdrop-filter: blur(4px);
  border:1px solid var(--line-dk); border-radius: var(--radius);
  padding: 13px 16px; color:#eaf1f7;
  font-family: var(--mono); font-size: 11.5px; letter-spacing:.08em;
  display:flex; justify-content:space-between; gap:12px;
}
.feature-tag b{ color: var(--gold-2); }
@media (max-width: 840px){
  .feature{ grid-template-columns:1fr; }
  .feature.flip .feature-media{ order:0; }
}

/* media frame (holds SVG art / photo placeholders) */
.frame{
  position: relative; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, var(--hull-2), var(--abyss));
  border:1px solid var(--line-dk);
}
.frame::after{ /* gold corner brackets */
  content:""; position:absolute; inset:12px; pointer-events:none;
  border:1px solid var(--line-dk);
  -webkit-mask:
    linear-gradient(#000 0 0) top left/22px 1px no-repeat,
    linear-gradient(#000 0 0) top left/1px 22px no-repeat,
    linear-gradient(#000 0 0) top right/22px 1px no-repeat,
    linear-gradient(#000 0 0) top right/1px 22px no-repeat,
    linear-gradient(#000 0 0) bottom left/22px 1px no-repeat,
    linear-gradient(#000 0 0) bottom left/1px 22px no-repeat,
    linear-gradient(#000 0 0) bottom right/22px 1px no-repeat,
    linear-gradient(#000 0 0) bottom right/1px 22px no-repeat;
}

/* photo placeholder */
.portrait{
  aspect-ratio: 4/5; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:14px; color: var(--fog); padding: 28px;
}
.portrait .ph-icon{ width:54px; height:54px; color: var(--gold); opacity:.7; }
.portrait .ph-label{ font-family: var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-2); }
.portrait .ph-note{ font-size: 12.5px; max-width: 30ch; line-height:1.45; }

/* ============================================================ service cards */
.cards{ display:grid; gap: 1px; background: var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.section-dark .cards, .section-navy .cards{ background: var(--line-dk2); border-color: var(--line-dk2); }
.card{ background:#fff; padding: 32px 30px; display:flex; flex-direction:column; gap: 14px; transition: background .2s ease; }
.section-dark .card, .section-navy .card{ background: var(--hull); }
.card:hover{ background: var(--paper); }
.section-dark .card:hover, .section-navy .card:hover{ background: var(--hull-2); }
.card .ic{ width: 34px; height: 34px; color: var(--gold); }
.card .num{ font-family: var(--mono); font-size: 11px; letter-spacing:.16em; color: var(--tide); }
.section-dark .card .num, .section-navy .card .num{ color: var(--signal); }
.card h3{ font-size: 1.28rem; }
.card p{ font-size: .96rem; color: var(--slate); line-height: 1.55; }
.section-dark .card p, .section-navy .card p{ color: var(--fog); }
.card .pills{ display:flex; flex-wrap:wrap; gap:7px; margin-top: 4px; }
.pill{ font-family: var(--mono); font-size: 10.5px; letter-spacing:.08em; text-transform:uppercase;
  padding: 4px 10px; border:1px solid var(--line); border-radius: 100px; color: var(--slate); }
.section-dark .pill, .section-navy .pill{ border-color: var(--line-dk); color: var(--gold-2); }
@media (max-width: 880px){ .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

/* ============================================================ reason grid (why) */
.reasons{ display:grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line-dk2); border:1px solid var(--line-dk2); border-radius:6px; overflow:hidden; }
.reason{ background: var(--abyss); padding: 30px 30px; display:flex; gap:18px; }
.reason .tag{ font-family: var(--mono); font-size: 11px; letter-spacing:.1em; color: var(--gold);
  border:1px solid var(--line-dk); border-radius: var(--radius); padding: 6px 9px; height:max-content; white-space:nowrap; }
.reason h3{ font-size: 1.2rem; color:#fff; margin-bottom: 9px; }
.reason p{ font-size:.94rem; color: var(--fog); line-height:1.55; }
@media (max-width: 760px){ .reasons{ grid-template-columns: 1fr; } }

/* ============================================================ ports */
.ports{ display:grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.port{
  border:1px solid var(--line); border-radius:6px; padding: 26px 26px; background:#fff;
  display:grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items:start;
  transition: border-color .2s ease, transform .2s ease;
}
.port:hover{ border-color: var(--gold); transform: translateY(-2px); }
.port .code{ font-family: var(--mono); font-size: 11px; letter-spacing:.14em; color: var(--tide);
  border:1px solid var(--line); border-radius: var(--radius); padding: 5px 9px; grid-row: span 2; align-self:start; }
.port h3{ font-size: 1.3rem; }
.port p{ font-size:.93rem; color: var(--slate); grid-column: 1 / -1; line-height:1.5; }
.port .pills{ grid-column: 1 / -1; display:flex; flex-wrap:wrap; gap:7px; margin-top:4px; }
@media (max-width: 700px){ .ports{ grid-template-columns: 1fr; } }

/* ============================================================ position map block */
.posmap{ display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,5vw,56px); align-items:center; }
.posmap .legend{ list-style:none; padding:0; margin:22px 0 0; display:grid; gap:14px; }
.posmap .legend li{ display:flex; gap:13px; align-items:flex-start; font-size:.96rem; color: var(--fog); }
.posmap .legend .k{ font-family:var(--mono); font-size:11px; color: var(--gold); border:1px solid var(--line-dk); border-radius:var(--radius); padding:4px 8px; flex:none; }
@media (max-width: 840px){ .posmap{ grid-template-columns:1fr; } }

/* ============================================================ CTA band */
.cta-band{ background: linear-gradient(135deg, var(--hull), var(--abyss)); color:#eaf1f7; position:relative; overflow:hidden; }
.cta-band .wrap{ position:relative; z-index:2; display:grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items:center; }
.cta-band h2{ margin-bottom: 12px; }
.cta-band .actions{ display:flex; flex-wrap:wrap; gap:14px; }
.cta-soundings{ position:absolute; inset:0; opacity:.35; z-index:0; }
@media (max-width: 820px){ .cta-band .wrap{ grid-template-columns:1fr; } }

/* ============================================================ breadcrumb hero (inner pages) */
.phero{ background: var(--abyss); color:#e7eef6; border-bottom:1px solid var(--line-dk); position:relative; overflow:hidden; }
.phero .wrap{ position:relative; z-index:2; padding-block: clamp(48px,7vw,86px); }
.crumb{ font-family: var(--mono); font-size: 11.5px; letter-spacing:.12em; text-transform:uppercase; color: var(--fog); margin-bottom: 22px; }
.crumb a{ color: var(--gold); }
.crumb .sep{ margin:0 9px; opacity:.5; }
.phero h1{ margin-bottom: 18px; max-width: 18ch; }
.phero p{ color:#c0d0e0; max-width: 60ch; font-size: clamp(1.02rem,1.4vw,1.2rem); }
.phero-art{ position:absolute; right:0; top:0; bottom:0; width: 46%; z-index:1; opacity:.85; }
@media (max-width: 820px){ .phero-art{ display:none; } }

/* ============================================================ grades / provisions guide */
.guide{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.gcard{ border:1px solid var(--line-dk); border-radius:6px; padding: 24px; background: var(--hull); }
.gcard .gh{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:12px; }
.gcard .gh h3{ font-size: 1.35rem; color:#fff; }
.gcard .spec{ font-family:var(--mono); font-size: 11px; color: var(--gold-2); letter-spacing:.06em; }
.gcard p{ font-size:.9rem; color: var(--fog); line-height:1.5; margin-bottom:14px; }
.gcard .pills{ display:flex; flex-wrap:wrap; gap:7px; }
@media (max-width: 880px){ .guide{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 480px){ .guide{ grid-template-columns: 1fr;} }

/* ============================================================ careers */
.job{ border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#fff; }
.job-head{ background: var(--abyss); color:#eaf1f7; padding: 30px clamp(24px,4vw,40px); }
.job-head .meta{ font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--gold); margin-bottom:14px; }
.job-head h2{ color:#fff; margin-bottom:14px; }
.job-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.job-tags span{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:#cdd9e6; border:1px solid var(--line-dk); border-radius:100px; padding:6px 13px; }
.job-body{ padding: clamp(26px,4vw,40px); display:grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.job-body h3{ font-size:1.15rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.job-body h3 .k{ font-family:var(--mono); font-size:11px; color: var(--tide); border:1px solid var(--line); border-radius:var(--radius); padding:4px 8px; }
.job-body ul{ list-style:none; padding:0; display:grid; gap:13px; }
.job-body li{ display:flex; gap:12px; font-size:.97rem; color:var(--slate); line-height:1.5; }
.job-body li .tick{ flex:none; width:18px; height:18px; color:var(--gold); margin-top:3px; }
.perks{ grid-column:1 / -1; border-top:1px solid var(--line); padding-top:30px; display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.perk h4{ font-family:var(--display); font-size:1.05rem; margin-bottom:7px; }
.perk p{ font-size:.88rem; color: var(--slate); line-height:1.45; }
.job-apply{ grid-column:1/-1; border-top:1px solid var(--line); padding-top:28px; display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.job-apply .note{ font-family:var(--mono); font-size:12px; color:var(--slate); }
@media (max-width: 760px){ .job-body{ grid-template-columns:1fr; } .perks{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 460px){ .perks{ grid-template-columns:1fr;} }

/* ============================================================ contact */
.contact-grid{ display:grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px,4vw,52px); align-items:start; }
.cinfo{ border:1px solid var(--line-dk); border-radius:8px; background: var(--hull); padding: clamp(26px,3vw,36px); }
.cinfo h2{ color:#fff; font-size:1.5rem; margin-bottom: 24px; line-height:1.15; }
.crow{ padding: 16px 0; border-top:1px solid var(--line-dk2); }
.crow:first-of-type{ border-top:0; }
.crow .k{ font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--gold); margin-bottom:6px; }
.crow .v{ color:#e7eef6; font-size:1.02rem; }
.crow .v a:hover{ color: var(--gold-2); }
.cform{ border:1px solid var(--line); border-radius:8px; background:#fff; padding: clamp(26px,3vw,38px); }
.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field.col2{ grid-column: span 2; }
.field label{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--slate); }
.field input, .field select, .field textarea{
  font: inherit; font-size:15px; color: var(--ink);
  padding: 12px 14px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; width:100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--gold); box-shadow:0 0 0 3px rgba(200,162,76,.16); }
.cform .note{ font-family:var(--mono); font-size:11.5px; color: var(--slate); margin-top:14px; }
@media (max-width: 560px){ .fgrid{ grid-template-columns:1fr; } .field.col2{ grid-column:auto; } }

/* ============================================================ credentials strip */
.creds{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.cred{ border:1px solid var(--line); border-radius:6px; padding:26px; background:#fff; }
.cred .k{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--tide); margin-bottom:10px; }
.cred .v{ font-family:var(--display); font-size:1.5rem; line-height:1.1; }
.cred .d{ font-size:.9rem; color: var(--slate); margin-top:8px; }
@media (max-width: 760px){ .creds{ grid-template-columns:1fr; } }

/* ============================================================ footer */
.foot{ background: var(--abyss); color: var(--fog); border-top:1px solid var(--line-dk); }
.foot .top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: clamp(48px,6vw,72px); }
.foot .brand-txt b{ font-size:1.2rem; }
.foot .fabout{ margin-top:18px; font-size:.93rem; line-height:1.6; max-width: 34ch; }
.foot h4{ font-family:var(--mono); font-weight:500; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#fff; margin-bottom:18px; }
.foot ul{ list-style:none; padding:0; display:grid; gap:11px; }
.foot a:hover{ color: var(--gold-2); }
.foot .col p{ font-size:.93rem; line-height:1.6; }
.foot .bottom{ border-top:1px solid var(--line-dk2); padding-block: 22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; }
.foot .bottom .ports-line{ color: var(--gold); }
@media (max-width: 860px){ .foot .top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .foot .top{ grid-template-columns: 1fr; } .foot .bottom{ justify-content:center; text-align:center;} }

/* ============================================================ reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
