/* ============================================================
   上村電設 — site styles
   ============================================================ */
:root {
  --ink: #0E0E0E;
  --ink-2: #1A1A1A;
  --paper: #F5F3EE;
  --paper-2: #EAE7DF;
  --paper-3: #DDD9CE;
  --line: #C8C3B5;
  --line-soft: #DCD8CB;
  --mute: #6B6B6B;
  --mute-2: #888378;
  --navy: #1B2A4A;
  --gold: #8E7A4A;

  --jp-serif: "Shippori Mincho", "Noto Serif JP", "YuMincho", "Hiragino Mincho ProN", serif;
  --jp-sans: "Noto Sans JP", "Yu Gothic Medium", system-ui, sans-serif;
  --en-serif: "Cormorant Garamond", "Times New Roman", serif;
  --en-sans: "Inter Tight", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--jp-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 56px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 56px; }

/* ============ TYPOGRAPHY HELPERS ============ */
.en-serif { font-family: var(--en-serif); font-weight: 400; }
.en-sans { font-family: var(--en-sans); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.jp-serif { font-family: var(--jp-serif); font-weight: 500; letter-spacing: 0.04em; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.section-label::before {
  content: "";
  width: 28px; height: 1px; background: var(--ink);
}
.section-label .num {
  font-family: var(--en-sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mute);
}

h2.section-title {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin: 26px 0 0;
  color: var(--ink);
}
h2.section-title .accent { color: var(--gold); }

.lead {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.kicker {
  font-family: var(--en-sans);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ============ TOP BAR / NAV ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar .brand-wrap {
  display: flex; align-items: center;
}
.topbar .brand-logo {
  display: block;
}
.topbar .brand-logo img {
  height: 88px; width: auto; display: block;
}
.topbar.on-dark .nav-link,
.topbar.on-dark .menu-btn { color: var(--paper); }

.brand-name {
  display: flex; flex-direction: column; gap: 2px; line-height: 1;
  color: var(--ink);
  transition: color .3s ease;
}
.brand-name strong {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.14em;
}
.brand-name small {
  font-family: var(--en-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--mute);
  text-transform: uppercase;
}

.nav-main {
  display: flex; gap: 36px; align-items: center;
}
.nav-link {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  transition: color .25s ease;
}
.nav-link small {
  font-family: var(--jp-sans);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.nav-link:hover { color: var(--gold); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--en-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.topbar.on-dark .menu-btn { border-color: var(--paper); color: var(--paper); }
.menu-btn:hover { background: var(--ink); color: var(--paper); }
.topbar.on-dark .menu-btn:hover { background: var(--paper); color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: auto;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.05);
  transform: scale(1.04);
  animation: heroIn 8s ease-out forwards;
}
@keyframes heroIn {
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 180px 56px 72px;
  gap: 48px;
}
.hero-copy { align-self: center; max-width: 980px; }
.hero-eng {
  font-family: var(--en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.04em;
  margin: 0 0 26px;
  opacity: 0.92;
}
.hero h1 {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin: 0;
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: 0.05em; }
.hero h1 .accent { display: inline-block; position: relative; padding: 0 0.05em; }
.hero h1 .accent::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 6px;
  height: 14px; background: rgba(245,243,238,0.18);
  z-index: -1;
}

.hero-sub {
  margin-top: 36px;
  font-family: var(--jp-serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 400;
  line-height: 2;
  opacity: 0.9;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  font-family: var(--en-sans);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  opacity: 0.85;
}
.hero-foot .scroll {
  display: inline-flex; flex-direction: column; gap: 14px; align-items: center;
}
.hero-foot .scroll .line {
  width: 1px; height: 56px; background: var(--paper); opacity: 0.6;
  position: relative; overflow: hidden;
}
.hero-foot .scroll .line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 50%;
  background: var(--paper); animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -50%; } 100% { top: 100%; }
}
.hero-foot .meta { display: flex; gap: 28px; }
.hero-foot .meta .v { color: var(--paper); }

/* ============ SECTIONS ============ */
section { position: relative; }
.sec-pad { padding: 160px 0; }
.sec-pad-sm { padding: 100px 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .lead, .dark h2.section-title { color: var(--paper); }
.dark .section-label::before { background: var(--paper); }
.dark .section-label, .dark .kicker { color: var(--paper); }
.dark .kicker { color: rgba(245,243,238,0.65); }

/* ============ NEWS STRIP ============ */
.news-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  background: var(--paper);
}
.news-strip-inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 48px;
  align-items: center;
}
.news-strip h3 {
  margin: 0;
  font-family: var(--en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.news-strip h3 small {
  font-family: var(--en-sans);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.28em;
  color: var(--mute);
}
.news-list {
  display: flex; flex-direction: column; gap: 12px;
}
.news-item {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.news-item:hover { color: var(--gold); }
.news-date {
  font-family: var(--en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.news-cat {
  font-family: var(--en-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 4px 10px;
  text-align: center;
}
.news-more {
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

/* ============ ABOUT TEASER ============ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.about-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.about-img:hover img { transform: scale(1.04); }
.about-img .tag {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--paper);
  background: rgba(0,0,0,0.55);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
}
.about-text {
  padding: 80px 64px 80px 100px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--paper);
}
.about-text h2 {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.65;
  letter-spacing: 0.08em;
  margin: 28px 0 36px;
}
.about-text h2 .br { color: var(--gold); }
.about-text p { margin: 0 0 18px; font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.about-text .signature {
  margin-top: 40px;
  font-family: var(--jp-serif);
  font-size: 14px;
  letter-spacing: 0.16em;
}
.about-text .signature small {
  display: block; font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.28em; color: var(--mute); margin-bottom: 6px;
}

.btn-link {
  margin-top: 44px;
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  transition: gap .3s;
}
.btn-link::after {
  content: "";
  width: 56px; height: 1px; background: var(--ink);
  transition: width .3s;
}
.btn-link:hover { gap: 24px; }
.btn-link:hover::after { width: 80px; }

/* ============ STRENGTH ============ */
.strength-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}

.strength-list {
  display: flex; flex-direction: column;
}
.strength-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 60px 0;
  align-items: center;
}
.strength-row:last-child { border-bottom: 1px solid var(--line); }
.strength-row.alt { grid-template-columns: 1.05fr 1fr; }
.strength-row.alt .strength-img { order: 2; }
.strength-row.alt .strength-body { order: 1; padding-right: 80px; padding-left: 0; }

.strength-img {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}
.strength-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s ease;
}
.strength-row:hover .strength-img img { transform: scale(1.05); }

.strength-body {
  padding-left: 80px;
}
.strength-num {
  font-family: var(--en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 88px;
  color: var(--ink);
  line-height: 0.9;
  margin-bottom: 24px;
}
.strength-row h3 {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}
.strength-row p {
  font-size: 14.5px; line-height: 2.1; color: var(--ink-2);
  margin: 0 0 32px; max-width: 480px;
}
.cert-stamp {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--ink);
  padding: 14px 22px;
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.cert-stamp::before {
  content: "認定";
  font-family: var(--en-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 8px;
}

/* ============ SERVICES ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 56px;
}
.svc-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.svc-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  margin-bottom: 30px;
}
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img .num {
  position: absolute; top: 22px; left: 22px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 18px;
}
.svc-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.svc-en { font-family: var(--en-serif); font-style: italic; font-size: 18px; color: var(--ink); }
.svc-cat { font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.28em; color: var(--mute); }
.svc-card h3 {
  font-family: var(--jp-serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  line-height: 1.5;
}
.svc-card p { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0 0 24px; }
.svc-link {
  margin-top: auto;
  font-family: var(--en-serif); font-style: italic; font-size: 16px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
}
.svc-link::after { content: "→"; transition: transform .3s; }
.svc-card:hover .svc-link::after { transform: translateX(6px); }

/* ============ WORKS ============ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 24px;
}
.work {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.work-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper-2);
}
.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.work:hover .work-img img { transform: scale(1.05); }
.work-img .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--en-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  padding: 6px 10px;
}
.work-meta { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.work-date { font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.22em; color: var(--mute); }
.work-title { font-family: var(--jp-serif); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; line-height: 1.6; color: var(--ink); }

.work.span4 { grid-column: span 4; }
.work.span6 { grid-column: span 6; }
.work.span3 { grid-column: span 3; }

.works-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 80px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.works-foot .count { font-family: var(--en-sans); font-size: 11px; letter-spacing: 0.24em; color: var(--mute); }
.works-foot .count b { font-family: var(--en-serif); font-style: italic; font-size: 28px; color: var(--ink); margin-right: 8px; font-weight: 400; }

/* ============ GALLERY MARQUEE ============ */
.gallery {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.gallery-track {
  display: flex; gap: 24px;
  width: max-content;
  animation: galleryScroll 60s linear infinite;
  padding: 24px 0;
}
.gallery-track img {
  height: 320px; width: auto;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ COMPANY ============ */
.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: start;
}
.company-tbl { width: 100%; border-collapse: collapse; }
.company-tbl tr { border-bottom: 1px solid var(--line); }
.company-tbl tr:first-child { border-top: 1px solid var(--ink); }
.company-tbl th, .company-tbl td {
  padding: 22px 0;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.company-tbl th {
  width: 200px;
  font-family: var(--jp-serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mute);
}
.company-tbl th small {
  display: block;
  font-family: var(--en-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--mute-2);
  margin-top: 4px;
}
.company-tbl td {
  font-size: 14.5px; letter-spacing: 0.06em; color: var(--ink);
  font-family: var(--jp-serif);
}
.company-tbl td .tel {
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.company-tbl td .cert-pill {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  font-family: var(--jp-serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ============ CONTACT ============ */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(245,243,238,0.18);
}
.contact-cell {
  padding: 80px 64px;
  border-right: 1px solid rgba(245,243,238,0.18);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-cell:last-child { border-right: 0; }
.contact-cell .label {
  font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.3em; color: rgba(245,243,238,0.65);
  margin-bottom: 16px;
}
.contact-cell h4 {
  font-family: var(--jp-serif); font-weight: 500; font-size: 22px; margin: 0 0 28px; letter-spacing: 0.1em;
}
.contact-cell .phone {
  font-family: var(--en-serif); font-style: italic; font-weight: 400; font-size: 56px; letter-spacing: 0.02em; line-height: 1;
  color: var(--paper);
}
.contact-cell .meta {
  margin-top: 20px;
  font-family: var(--en-sans); font-size: 10.5px; letter-spacing: 0.24em; color: rgba(245,243,238,0.7);
}
.contact-cell .form-link {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--jp-serif); font-size: 18px; letter-spacing: 0.16em;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--paper);
  align-self: flex-start;
}
.contact-cell .form-link::after { content: "→"; transition: transform .3s; }
.contact-cell .form-link:hover::after { transform: translateX(6px); }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.foot-brand .brand-logo {
  display: block;
  margin-bottom: 18px;
  border-radius: 50%;
}
.foot-brand .brand-logo img { height: 68px; width: auto; display: block; }
.foot-brand p {
  font-family: var(--jp-serif); font-size: 13px; letter-spacing: 0.1em; line-height: 2;
  margin: 0; color: rgba(245,243,238,0.78);
}
.foot-col h5 {
  font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.28em;
  color: rgba(245,243,238,0.55); margin: 0 0 24px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-col a {
  font-family: var(--jp-serif); font-size: 13.5px; letter-spacing: 0.12em;
  color: var(--paper);
}
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245,243,238,0.18);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.24em;
  color: rgba(245,243,238,0.55);
}

/* ============ PAGE HEADER (for sub pages) ============ */
.page-head {
  background: var(--ink);
  color: var(--paper);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .en {
  font-family: var(--en-serif); font-style: italic; font-size: 22px;
  color: rgba(245,243,238,0.75); margin-bottom: 16px;
}
.page-head h1 {
  font-family: var(--jp-serif); font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: 0.08em; line-height: 1.2;
  margin: 0;
}
.page-head .crumbs {
  margin-top: 36px;
  font-family: var(--en-sans); font-size: 10px; letter-spacing: 0.28em;
  color: rgba(245,243,238,0.55);
}
.page-head .crumbs a { color: rgba(245,243,238,0.75); }
.page-head .crumbs span { margin: 0 12px; opacity: 0.5; }

/* ============ FORMS ============ */
.form {
  display: grid; gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-family: var(--jp-serif); font-size: 13px; letter-spacing: 0.16em;
  display: flex; align-items: center; gap: 12px;
}
.field label .req {
  font-family: var(--en-sans); font-size: 9px; letter-spacing: 0.2em;
  background: var(--ink); color: var(--paper); padding: 3px 8px;
}
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0;
  font-family: var(--jp-sans);
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--ink);
}
.field textarea { min-height: 180px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.btn-submit {
  margin-top: 16px;
  align-self: start;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 56px;
  font-family: var(--jp-serif); font-size: 15px; letter-spacing: 0.24em;
  display: inline-flex; align-items: center; gap: 18px;
  transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--navy); transform: translateY(-2px); }
.btn-submit::after { content: "→"; }

/* ============ ARTICLE TYPOGRAPHY (privacy / news detail) ============ */
.article {
  max-width: 820px; margin: 0 auto;
  padding: 80px 0 120px;
}
.article h2 {
  font-family: var(--jp-serif); font-weight: 500;
  font-size: 22px; letter-spacing: 0.12em;
  margin: 56px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.article h2:first-of-type { margin-top: 0; }
.article p { font-size: 14.5px; line-height: 2.1; margin: 0 0 18px; color: var(--ink-2); }
.article ul { padding-left: 1.2em; line-height: 2.1; color: var(--ink-2); font-size: 14.5px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .wrap, .wrap-narrow { padding: 0 28px; }
  .topbar { padding: 18px 24px; }
  .nav-main { display: none; }
  .hero-inner { padding: 130px 24px 36px; }
  .news-strip-inner { grid-template-columns: 1fr; gap: 18px; }
  .about-block { grid-template-columns: 1fr; }
  .about-text { padding: 56px 28px; }
  .strength-row, .strength-row.alt { grid-template-columns: 1fr; }
  .strength-row.alt .strength-img { order: 0; }
  .strength-body, .strength-row.alt .strength-body { padding: 32px 0 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 48px; }
  .works-grid { grid-template-columns: repeat(6, 1fr); }
  .work.span4, .work.span6, .work.span3 { grid-column: span 6; }
  .company-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-block { grid-template-columns: 1fr; }
  .contact-cell { padding: 56px 28px; border-right: 0; border-bottom: 1px solid rgba(245,243,238,0.18); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery-track img { height: 200px; }
  .field-row { grid-template-columns: 1fr; }
  .sec-pad { padding: 100px 0; }

  /* News mobile */
  .news-strip { padding: 56px 0; }
  .news-strip h3 { font-size: 36px; }
  .news-list { gap: 0; }
  .news-item,
  .news-list .news-item {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .news-item > span:last-child {
    font-size: 15px !important;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .news-date { font-size: 11.5px; }
  .news-cat {
    justify-self: start;
    padding: 3px 10px;
    font-size: 10px;
  }
  .page-head h1 { font-size: clamp(36px, 9vw, 56px) !important; }
  .page-head { padding: 130px 0 60px !important; }
}

@media (max-width: 480px) {
  .news-strip h3 { font-size: 30px; }
  .news-strip h3 small { font-size: 9px; }
  .news-item { padding: 18px 0 !important; }
  .news-item > span:last-child { font-size: 14.5px !important; }
  .page-head h1 { font-size: clamp(32px, 10vw, 48px) !important; }
}
