:root {
  --navy: #13284d;
  --navy-deep: #0b1730;
  --navy-soft: #1c3966;
  --ink: #1b2230;
  --muted: #5a6478;
  --line: #e5e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --accent: #c9a24b; /* subtle gold */
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(11, 23, 48, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700; letter-spacing: 0.22em;
  color: #fff; font-size: 18px;
}
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72); transition: color 0.2s;
}
.nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  min-height: 72vh;
  background: url("assets/duckworks-logo.png") center center / cover no-repeat;
}

.intro {
  text-align: center;
  padding: clamp(56px, 9vw, 90px) 20px clamp(64px, 10vw, 100px);
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0e1d3d 60%, #0a1428 100%);
  color: #fff;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-copy {
  font-weight: 700;
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.hero-copy-en {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 2.4vw, 18px);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 12px;
}
.hero-lead {
  margin: 26px auto 34px;
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600; letter-spacing: 0.08em; font-size: 14px;
  padding: 14px 30px; border-radius: 999px;
  background: #fff; color: var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.btn span { font-size: 11px; opacity: 0.6; letter-spacing: 0.14em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.btn-lg { font-size: 16px; padding: 16px 40px; background: var(--navy); color: #fff; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) clamp(20px, 5vw, 48px);
}
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt .section-head,
.section-alt .profile { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: 0.1em; color: var(--navy);
}
.section-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-top: 8px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(19, 40, 77, 0.12);
  border-color: transparent;
}
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 {
  font-size: 17px; color: var(--navy); margin-bottom: 10px; line-height: 1.4;
}
.card h3 span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--muted); margin-top: 3px;
}
.card p { font-size: 14px; color: var(--muted); }

/* ---------- Profile ---------- */
.profile { display: grid; gap: 0; }
.profile > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.profile dt {
  font-weight: 700; color: var(--navy); font-size: 15px;
}
.profile dt span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--muted); margin-top: 2px;
}
.profile dd { font-size: 15px; color: var(--ink); }
.profile dd a { color: var(--navy-soft); border-bottom: 1px solid var(--line); }
.addr-en {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px; color: var(--muted); margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-lead { color: var(--muted); margin-bottom: 30px; }
.contact-lead .en {
  font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: 0.04em;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.field label span {
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); margin-left: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(28, 57, 102, 0.12);
}
.field textarea { resize: vertical; }
.contact-form .btn { border: none; cursor: pointer; margin-top: 6px; }
/* honeypot: kept in the layout but off-screen and out of tab order */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-status { margin-top: 16px; font-size: 14px; min-height: 1.2em; }
.cf-status.ok { color: #1c7a4a; }
.cf-status.err { color: #b4453a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: rgba(255, 255, 255, 0.7);
  text-align: center; padding: 40px 20px;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.foot-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700; letter-spacing: 0.24em; color: #fff; font-size: 15px;
}
.copy { font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header { justify-content: center; }
  .brand { font-size: 16px; }
  .nav { display: none; }
  .profile > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
}
