/* ==========================================================================
   YMS — You Maritime Services
   Skeuomorphic maritime design system
   Concept: the bridge of a classic ship — mahogany paneling, engraved
   brass, portholes, aged chart paper, stitched leather, real depth.
   ========================================================================== */

:root {
  /* Palette */
  --navy: #16283c;
  --navy-deep: #0b1624;
  --brass-hi: #f9ecc0;
  --brass: #c9a24e;
  --brass-mid: #a97f35;
  --brass-dark: #6e4f1c;
  --wood: #5a3a22;
  --wood-dark: #2e1d10;
  --wood-hi: #7c5433;
  --paper: #efe4c8;
  --paper-dark: #ddcba2;
  --paper-edge: #c9b585;
  --ink: #2c2a22;
  --ink-soft: #4c463a;
  --leather: #6b3f26;
  --leather-dark: #452818;
  --sea: #1e4e63;

  /* Textures (inline SVG) */
  --tex-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/></svg>");
  --tex-wood: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.14' numOctaves='4' seed='7'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23w)' opacity='0.28'/></svg>");
  --tex-paper: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.06' numOctaves='4' seed='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' opacity='0.12'/></svg>");
  --tex-leather: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='3' seed='11'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23l)' opacity='0.18'/></svg>");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background:
    var(--tex-wood),
    linear-gradient(175deg, var(--wood-hi) 0%, var(--wood) 30%, var(--wood-dark) 100%);
  min-height: 100vh;
}

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

a { color: var(--sea); }

/* ==========================================================================
   Brass text & headings
   ========================================================================== */

h1, h2, h3, .plaque-text {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* Engraved into brass (dark text, light lip below) */
.engraved {
  color: #4a3413;
  text-shadow: 0 1px 0 rgba(255, 244, 200, 0.75), 0 -1px 1px rgba(0, 0, 0, 0.55);
}

/* Embossed on paper */
.embossed {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 -1px 0 rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   Header — mahogany bar with brass plaque logo
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    var(--tex-wood),
    linear-gradient(180deg, #6a4527 0%, #4a2e17 55%, #33200e 100%);
  border-bottom: 3px solid #1d1207;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.28),
    inset 0 -2px 3px rgba(0, 0, 0, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.55);
}

/* brass trim rail under the header */
.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(180deg, var(--brass-hi) 0%, var(--brass) 35%, var(--brass-dark) 80%, #3d2b0e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* The logo: a screwed-on brass nameplate */
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 26px;
  border-radius: 8px;
  background:
    var(--tex-grain),
    linear-gradient(160deg, var(--brass-hi) 0%, var(--brass) 38%, var(--brass-mid) 62%, var(--brass-dark) 100%);
  border: 1px solid #55400f;
  box-shadow:
    inset 0 2px 2px rgba(255, 250, 220, 0.85),
    inset 0 -3px 4px rgba(60, 40, 0, 0.55),
    0 3px 6px rgba(0, 0, 0, 0.6),
    0 8px 14px rgba(0, 0, 0, 0.35);
  position: relative;
  text-align: center;
}

/* company crest, engraved into the nameplate */
.brand .brand-crest {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(255, 244, 200, 0.55));
}

.brand .brand-text { text-align: center; }

.brand .brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: 0.14em;
}

.brand .brand-tag {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  margin-top: 1px;
}

/* corner screws on the nameplate */
.brand::before, .brand::after,
.brand .screw-b::before, .brand .screw-b::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fdf3cd 0%, #b8934e 45%, #5c4210 100%);
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.4);
}
.brand::before { top: 5px; left: 6px; }
.brand::after  { top: 5px; right: 6px; }
.brand .screw-b::before { bottom: 5px; left: 6px; top: auto; }
.brand .screw-b::after  { bottom: 5px; right: 6px; top: auto; }

/* Navigation — engraved brass tabs */
.site-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.site-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 6px;
  color: #e9d9a8;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
  border: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(255, 220, 170, 0.18);
  transition: all 0.15s ease;
}

.site-nav a:hover {
  color: var(--brass-hi);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(255, 220, 170, 0.18),
    0 0 12px rgba(255, 214, 130, 0.25);
}

.site-nav a.active {
  color: #3c2b0a;
  text-shadow: 0 1px 0 rgba(255, 246, 210, 0.8);
  background: linear-gradient(170deg, var(--brass-hi) 0%, var(--brass) 45%, var(--brass-mid) 100%);
  border-color: #5c4512;
  box-shadow:
    inset 0 1px 1px rgba(255, 250, 220, 0.9),
    inset 0 -2px 3px rgba(70, 48, 0, 0.5),
    0 2px 5px rgba(0, 0, 0, 0.55);
}

/* Mobile nav toggle — a brass switch */
.nav-toggle {
  display: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 6px;
  color: #3c2b0a;
  background: linear-gradient(170deg, var(--brass-hi), var(--brass) 50%, var(--brass-mid));
  border: 1px solid #5c4512;
  box-shadow: inset 0 1px 1px rgba(255,250,220,0.9), inset 0 -2px 3px rgba(70,48,0,0.5), 0 2px 5px rgba(0,0,0,0.55);
}

/* ==========================================================================
   Main "chart paper" surface
   ========================================================================== */

.sheet {
  max-width: 1200px;
  margin: 34px auto 60px;
  background:
    var(--tex-paper),
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(160deg, var(--paper) 0%, var(--paper-dark) 100%);
  border-radius: 6px;
  border: 1px solid var(--paper-edge);
  box-shadow:
    inset 0 0 60px rgba(120, 90, 40, 0.22),
    inset 0 0 6px rgba(255, 255, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 18px 45px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  position: relative;
}

.sheet-pad { padding: 56px 64px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 64px 70px;
  text-align: center;
  background:
    var(--tex-paper),
    radial-gradient(ellipse at 50% -20%, rgba(255,255,255,0.6), transparent 60%),
    linear-gradient(165deg, #f2e7cc 0%, #e3d2ab 100%);
  border-bottom: 1px solid var(--paper-edge);
}

/* faint company crest behind the hero */
.hero .hero-watermark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 520px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  margin: 26px auto 10px;
  max-width: 900px;
  position: relative;
}

/* large company crest stamped on the chart paper */
.hero .hero-crest {
  width: 190px;
  margin: 0 auto 20px;
  position: relative;
  opacity: 0.95;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

.hero .hero-sub {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto 38px;
  position: relative;
}

.hero-ctas { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Small brass banner above the H1 */
.hero-kicker {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 8px 28px;
  border-radius: 999px;
  position: relative;
  background: linear-gradient(170deg, var(--brass-hi), var(--brass) 45%, var(--brass-mid));
  border: 1px solid #6a5016;
  box-shadow: inset 0 1px 1px rgba(255,250,220,0.9), inset 0 -2px 3px rgba(70,48,0,0.5), 0 3px 7px rgba(0,0,0,0.35);
}

/* ==========================================================================
   Brass buttons — heavy, pressable
   ========================================================================== */

.btn-brass {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #3a2a09;
  text-shadow: 0 1px 0 rgba(255, 246, 210, 0.85);
  padding: 15px 38px;
  border-radius: 10px;
  border: 1px solid #5c4512;
  cursor: pointer;
  background:
    var(--tex-grain),
    linear-gradient(170deg, var(--brass-hi) 0%, var(--brass) 40%, var(--brass-mid) 70%, var(--brass-dark) 100%);
  box-shadow:
    inset 0 2px 2px rgba(255, 250, 220, 0.9),
    inset 0 -4px 6px rgba(70, 48, 0, 0.5),
    0 4px 0 #4c380f,
    0 7px 12px rgba(0, 0, 0, 0.45);
  transition: all 0.08s ease;
}

.btn-brass:hover { filter: brightness(1.06); }

.btn-brass:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 2px 4px rgba(70, 48, 0, 0.6),
    0 0 0 #4c380f,
    0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Navy "iron" secondary button */
.btn-iron {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #d8e2ea;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
  padding: 15px 38px;
  border-radius: 10px;
  border: 1px solid #060d16;
  cursor: pointer;
  background:
    var(--tex-grain),
    linear-gradient(170deg, #3c5872 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow:
    inset 0 2px 2px rgba(200, 225, 245, 0.35),
    inset 0 -4px 6px rgba(0, 0, 0, 0.6),
    0 4px 0 #050b13,
    0 7px 12px rgba(0, 0, 0, 0.45);
  transition: all 0.08s ease;
}

.btn-iron:hover { filter: brightness(1.15); }

.btn-iron:active {
  transform: translateY(4px);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.7), 0 0 0 #050b13, 0 2px 5px rgba(0,0,0,0.4);
}

/* ==========================================================================
   Section plaques (h2 on a brass plate)
   ========================================================================== */

.section { padding: 54px 64px; border-bottom: 1px solid rgba(150, 120, 60, 0.35); }
.section:last-of-type { border-bottom: none; }

.plaque {
  display: inline-block;
  position: relative;
  padding: 12px 44px;
  border-radius: 8px;
  margin-bottom: 30px;
  background:
    var(--tex-grain),
    linear-gradient(160deg, var(--brass-hi) 0%, var(--brass) 38%, var(--brass-mid) 62%, var(--brass-dark) 100%);
  border: 1px solid #55400f;
  box-shadow:
    inset 0 2px 2px rgba(255, 250, 220, 0.85),
    inset 0 -3px 4px rgba(60, 40, 0, 0.55),
    0 3px 6px rgba(0, 0, 0, 0.45);
}

.plaque h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 700;
}

.plaque::before, .plaque::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fdf3cd 0%, #b8934e 45%, #5c4210 100%);
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.4);
}
.plaque::before { left: 12px; }
.plaque::after { right: 12px; }

.section .lead { max-width: 860px; color: var(--ink-soft); }

/* ==========================================================================
   Porthole icons
   ========================================================================== */

.porthole {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin: 0 auto 18px;
  position: relative;
  background:
    radial-gradient(circle at 32% 28%, #fdf4d0 0%, var(--brass) 32%, var(--brass-mid) 58%, var(--brass-dark) 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 252, 230, 0.9),
    inset 0 -4px 6px rgba(50, 34, 0, 0.65),
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 2px 3px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* glass inner */
.porthole .glass {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 30%, transparent 45%),
    radial-gradient(circle at 50% 60%, #35708c 0%, var(--sea) 55%, #10303f 100%);
  border: 3px solid rgba(60, 42, 6, 0.75);
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.55),
    inset 0 -2px 4px rgba(160, 220, 240, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eef6f4;
}

.porthole .glass svg { width: 42px; height: 42px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }

/* porthole rivets */
.porthole i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fdf3cd 0%, #b8934e 45%, #5c4210 100%);
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.35);
}
.porthole i:nth-child(1) { top: 6px; left: 50%; margin-left: -4px; }
.porthole i:nth-child(2) { bottom: 6px; left: 50%; margin-left: -4px; }
.porthole i:nth-child(3) { left: 6px; top: 50%; margin-top: -4px; }
.porthole i:nth-child(4) { right: 6px; top: 50%; margin-top: -4px; }

/* ==========================================================================
   Cards — stitched leather ledgers on the chart table
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 36px;
}

.card {
  padding: 34px 28px 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  background:
    var(--tex-leather),
    radial-gradient(ellipse at 30% 15%, rgba(255, 200, 150, 0.16), transparent 55%),
    linear-gradient(165deg, #7d4c2e 0%, var(--leather) 45%, var(--leather-dark) 100%);
  border: 1px solid #33200e;
  box-shadow:
    inset 0 1px 2px rgba(255, 210, 160, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.45),
    0 4px 8px rgba(0, 0, 0, 0.35),
    0 14px 26px rgba(0, 0, 0, 0.3);
}

/* stitching */
.card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 8px;
  border: 2px dashed rgba(240, 214, 160, 0.55);
  pointer-events: none;
}

.card h3 {
  color: #f6e8c4;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0,0,0,0.5);
}

.card p {
  color: #ecdcba;
  font-size: 0.95rem;
  line-height: 1.65;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Rope divider
   ========================================================================== */

.rope {
  height: 12px;
  margin: 0 auto;
  border: none;
  border-radius: 6px;
  max-width: 82%;
  background:
    repeating-linear-gradient(
      -55deg,
      #caa66a 0 7px,
      #8a6a3a 7px 10px,
      #b28d55 10px 14px
    );
  box-shadow:
    inset 0 2px 2px rgba(255, 235, 190, 0.5),
    inset 0 -3px 4px rgba(50, 32, 8, 0.6),
    0 3px 5px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Feature list — brass compass bullets
   ========================================================================== */

.brass-list { list-style: none; margin-top: 24px; max-width: 820px; }

.brass-list li {
  position: relative;
  padding: 14px 18px 14px 58px;
  margin-bottom: 14px;
  border-radius: 10px;
  background:
    var(--tex-paper),
    linear-gradient(170deg, rgba(255, 255, 255, 0.55), rgba(210, 190, 140, 0.35));
  border: 1px solid rgba(150, 120, 60, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(140, 110, 50, 0.25),
    0 3px 6px rgba(80, 60, 20, 0.2);
  font-weight: 500;
}

.brass-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fdf4d0 0%, var(--brass) 38%, var(--brass-mid) 65%, var(--brass-dark) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 252, 230, 0.9),
    inset 0 -2px 3px rgba(50, 34, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.brass-list li::after {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #4a3413;
  text-shadow: 0 1px 0 rgba(255, 244, 200, 0.7);
}

/* ==========================================================================
   Ledger rows (What we do index)
   ========================================================================== */

.ledger { margin-top: 34px; counter-reset: svc; }

.ledger-row {
  counter-increment: svc;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 22px;
  border-radius: 10px;
  background:
    var(--tex-paper),
    radial-gradient(ellipse at 15% 0%, rgba(255,255,255,0.5), transparent 50%),
    linear-gradient(168deg, #f4ead2 0%, #e2d1a9 100%);
  border: 1px solid rgba(150, 120, 60, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -3px 5px rgba(140, 110, 50, 0.22),
    0 3px 7px rgba(70, 50, 15, 0.3),
    0 10px 18px rgba(70, 50, 15, 0.18);
}

/* numbered brass tag */
.ledger-row::before {
  content: counter(svc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #4a3413;
  text-shadow: 0 1px 0 rgba(255, 244, 200, 0.7);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fdf4d0 0%, var(--brass) 38%, var(--brass-mid) 65%, var(--brass-dark) 100%);
  border: 1px solid #55400f;
  box-shadow:
    inset 0 1px 1px rgba(255, 252, 230, 0.9),
    inset 0 -2px 3px rgba(50, 34, 0, 0.6),
    0 3px 5px rgba(0, 0, 0, 0.3);
}

.ledger-row h3 { font-size: 1.15rem; margin-bottom: 8px; }

.ledger-row p, .ledger-row ul { color: var(--ink-soft); font-size: 0.98rem; }

.ledger-row ul { margin: 10px 0 0 20px; columns: 2; column-gap: 40px; }
.ledger-row ul li { margin-bottom: 6px; break-inside: avoid; }

/* ==========================================================================
   Medallions (About page values)
   ========================================================================== */

.medallion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 26px;
  margin-top: 36px;
  text-align: center;
}

.medallion .coin {
  width: 108px;
  height: 108px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 28%, #fdf4d0 0%, var(--brass) 34%, var(--brass-mid) 60%, var(--brass-dark) 100%);
  border: 4px double rgba(90, 65, 15, 0.75);
  box-shadow:
    inset 0 2px 3px rgba(255, 252, 230, 0.9),
    inset 0 -4px 6px rgba(50, 34, 0, 0.6),
    0 5px 10px rgba(0, 0, 0, 0.35);
}

.medallion .coin svg { width: 46px; height: 46px; }

.medallion h3 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Contact page — ship's log form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: start;
}

.logbook {
  padding: 36px 34px;
  border-radius: 12px;
  background:
    var(--tex-leather),
    radial-gradient(ellipse at 30% 10%, rgba(255, 200, 150, 0.14), transparent 55%),
    linear-gradient(165deg, #7d4c2e 0%, var(--leather) 45%, var(--leather-dark) 100%);
  border: 1px solid #33200e;
  box-shadow:
    inset 0 1px 2px rgba(255, 210, 160, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.45),
    0 6px 12px rgba(0, 0, 0, 0.35),
    0 16px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.logbook::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  border: 2px dashed rgba(240, 214, 160, 0.45);
  pointer-events: none;
}

.logbook h3 {
  color: #f6e8c4;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.12em;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.75);
}

.field { margin-bottom: 18px; position: relative; z-index: 1; }

.field label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #e9d5a4;
  margin-bottom: 7px;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7);
}

.field input, .field textarea {
  width: 100%;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #3a250f;
  background:
    var(--tex-paper),
    linear-gradient(180deg, #e6d8b6 0%, #f2e8cf 100%);
  box-shadow:
    inset 0 3px 6px rgba(60, 40, 10, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.6),
    0 1px 0 rgba(255, 220, 170, 0.25);
  outline: none;
}

.field input:focus, .field textarea:focus {
  box-shadow:
    inset 0 3px 6px rgba(60, 40, 10, 0.45),
    0 0 0 3px rgba(214, 176, 90, 0.55);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-actions { text-align: center; margin-top: 26px; position: relative; z-index: 1; }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  font-style: italic;
  color: #d9c294;
  text-align: center;
  text-shadow: 0 -1px 1px rgba(0,0,0,0.6);
}

/* Info side — a hanging brass-framed card */
.info-card {
  padding: 34px 30px;
  border-radius: 10px;
  background:
    var(--tex-paper),
    linear-gradient(168deg, #f4ead2 0%, #e2d1a9 100%);
  border: 6px solid transparent;
  border-image: linear-gradient(160deg, var(--brass-hi), var(--brass-mid) 55%, var(--brass-dark)) 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 0 26px rgba(140, 110, 50, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.35),
    0 16px 30px rgba(0, 0, 0, 0.25);
}

.info-card h3 { margin-bottom: 16px; font-size: 1.1rem; }

.info-card p { margin-bottom: 14px; color: var(--ink-soft); }

.info-card .info-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #8a6a2f;
}

/* ==========================================================================
   Footer — dark wood with engraved brass strip
   ========================================================================== */

.site-footer {
  margin-top: 20px;
  background:
    var(--tex-wood),
    linear-gradient(180deg, #3a2513 0%, #241609 60%, #170d05 100%);
  border-top: 6px solid;
  border-image: linear-gradient(90deg, var(--brass-dark), var(--brass-hi) 30%, var(--brass) 55%, var(--brass-dark)) 1;
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.55);
  color: #cdb98c;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 24px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

.site-footer h4 {
  font-family: 'Cinzel', serif;
  color: #ecd9a5;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
}

.site-footer a { color: #e3cd97; text-decoration: none; }
.site-footer a:hover { color: var(--brass-hi); text-decoration: underline; }

.site-footer p, .site-footer li { font-size: 0.92rem; line-height: 1.9; }
.site-footer ul { list-style: none; }

.footer-bottom {
  border-top: 1px solid rgba(230, 200, 130, 0.18);
  text-align: center;
  padding: 16px 24px;
  font-size: 0.82rem;
  color: #9a8760;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.center { text-align: center; }
.mt-30 { margin-top: 30px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* Ship's wheel / anchor accents */
.accent-svg { color: var(--brass-mid); opacity: 0.9; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .sheet { margin: 20px 14px 40px; }
  .sheet-pad, .section, .hero { padding-left: 28px; padding-right: 28px; }
  .contact-grid, .two-col { grid-template-columns: 1fr; }
  .ledger-row ul { columns: 1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .hero { padding-top: 54px; padding-bottom: 48px; }
  .hero .hero-watermark { width: 320px; }
}
