/* =========================================================
   newjersey.usa.co.jp / site.css
   New Jersey @ USA.co.jp
   Jay Smith's home state — the state we never forgot.
   ========================================================= */

:root {
  --ink: #17202a;
  --ink-soft: #394756;
  --paper: #f7f3ea;
  --paper-warm: #efe5d3;
  --white: #ffffff;

  --jersey-blue: #123a5f;
  --jersey-blue-soft: #1d5f8f;
  --shore-blue: #5f9fbd;
  --boardwalk-red: #a33a2c;
  --cranberry: #7b2430;
  --pine-green: #244f3a;
  --sand: #d7bd87;
  --gold: #c89b3c;

  --line: rgba(23, 32, 42, 0.16);
  --line-strong: rgba(23, 32, 42, 0.28);
  --shadow: 0 24px 60px rgba(14, 28, 45, 0.18);
  --shadow-soft: 0 14px 36px rgba(14, 28, 45, 0.11);

  --max: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --serif: Georgia, "Times New Roman", "Yu Mincho", "YuMincho",
    "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(95, 159, 189, 0.18), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(200, 155, 60, 0.14), transparent 26%),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 48%, #eee3d0 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--jersey-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--boardwalk-red);
}

p {
  margin: 0 0 1.1rem;
}

strong,
b {
  color: var(--ink);
  font-weight: 800;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 46px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(var(--max), calc(100% - 34px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}

.brand-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.brand-kicker {
  color: var(--cranberry);
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.navlinks a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 760;
  padding: 10px 12px;
  border-radius: 999px;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--white);
  background: var(--jersey-blue);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--jersey-blue);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 36, 0.86) 0%, rgba(10, 22, 36, 0.58) 42%, rgba(10, 22, 36, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 22, 36, 0.6), rgba(10, 22, 36, 0.04) 45%);
  z-index: 1;
}

.hero img,
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 84px;
  display: grid;
  align-items: end;
}

.hero-text {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff7e6;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  color: var(--white);
  text-wrap: balance;
}

.hero-lede {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--jersey-blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  background: var(--boardwalk-red);
  color: var(--white);
}

.btn.alt {
  background: var(--white);
  color: var(--jersey-blue);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn.alt:hover {
  background: var(--sand);
  color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--jersey-blue);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--jersey-blue);
  color: var(--white);
}

/* ---------- Typography ---------- */

.kicker {
  margin: 0 0 10px;
  color: var(--cranberry);
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 900;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin: 0 0 18px;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin: 0 0 10px;
}

h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.lede {
  max-width: 840px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}

.center {
  text-align: center;
}

.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */

.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-body {
  padding: 24px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card.wide img {
  aspect-ratio: 16 / 9;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--boardwalk-red);
}

.card p {
  color: var(--ink-soft);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 58, 95, 0.08);
  color: var(--jersey-blue);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 850;
}

/* ---------- Feature Blocks ---------- */

.feature-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(18, 58, 95, 0.96), rgba(36, 79, 58, 0.88)),
    var(--jersey-blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.feature-band .inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
}

.feature-band h2,
.feature-band h3 {
  color: var(--white);
}

.feature-band p {
  color: rgba(255, 255, 255, 0.88);
}

.feature-band img {
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
}

/* ---------- Memory / Jay Smith Note ---------- */

.memory-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 36, 48, 0.28);
  background:
    linear-gradient(135deg, rgba(123, 36, 48, 0.08), rgba(200, 155, 60, 0.08)),
    rgba(255, 255, 255, 0.74);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}

.memory-box h2,
.memory-box h3 {
  color: var(--cranberry);
}

.memory-box .signature {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ---------- Article ---------- */

.article-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.article-header {
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.article-header .lede {
  max-width: 820px;
}

.article-body {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.95;
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

.article-body h3 {
  margin-top: 1.8em;
}

.article-body blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 6px solid var(--boardwalk-red);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink);
  font-size: 1.18em;
  line-height: 1.75;
}

.article-figure {
  margin: 34px 0;
}

.article-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.caption,
figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------- Places / Contact Info ---------- */

.place-list {
  display: grid;
  gap: 18px;
}

.place {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.place h3 {
  margin-bottom: 8px;
}

.place dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 7px 14px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.place dt {
  color: var(--ink);
  font-weight: 850;
}

.place dd {
  margin: 0;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(10, 22, 36, 0.76);
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 760;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: rgba(18, 58, 95, 0.08);
  font-weight: 900;
}

td {
  color: var(--ink-soft);
}

/* ---------- Utility Bands ---------- */

.callout {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.callout.blue {
  background:
    linear-gradient(135deg, rgba(18, 58, 95, 0.95), rgba(29, 95, 143, 0.88));
  color: var(--white);
}

.callout.blue h2,
.callout.blue h3 {
  color: var(--white);
}

.callout.blue p {
  color: rgba(255, 255, 255, 0.88);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 70px;
  padding: 54px 0 38px;
  background: #101b27;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sand);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

/* ---------- Forms ---------- */

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 850;
}

/* ---------- Accessibility ---------- */

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

.skip-link {
  position: absolute;
  left: 10px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .navlinks {
    justify-content: flex-start;
  }

  .grid.three,
  .grid.four,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band .inner,
  .split,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(10, 22, 36, 0.9), rgba(10, 22, 36, 0.58)),
      linear-gradient(0deg, rgba(10, 22, 36, 0.6), rgba(10, 22, 36, 0.14));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap,
  .navbar,
  .hero-content,
  .article-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 26px, var(--max));
  }

  .section {
    padding: 52px 0;
  }

  .hero-content {
    padding: 88px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .navlinks a {
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .grid.three,
  .grid.four,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-body {
    padding: 20px;
  }

  .place dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-grid {
    gap: 20px;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .callout,
  .memory-box {
    box-shadow: none;
    break-inside: avoid;
  }
}
