:root {
  --ink: #171a19;
  --muted-ink: #66706c;
  --line: #d9ddda;
  --paper: #f8f8f5;
  --white: #ffffff;
  --soft: #eef1ee;
  --deep-green: #173c32;
  --green: #2c6654;
  --red: #c84b2f;
  --gold: #a9823d;
  --shadow: 0 18px 54px rgba(21, 30, 27, 0.12);
  --content: 1180px;
  /* Local OFL families only; generic fallbacks do not distribute font files. */
  --font-body: "Noto Sans JP", sans-serif;
  --font-heading: "Noto Serif JP", serif;
  --font-latin-serif: "Noto Serif", serif;
}

:root:lang(zh) {
  --font-body: "Noto Sans SC", sans-serif;
  --font-heading: "Noto Serif SC", serif;
}

:root:lang(en) {
  --font-body: "Noto Sans", "Noto Sans JP", sans-serif;
  --font-heading: "Noto Serif", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::selection { color: var(--white); background: var(--deep-green); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(440px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 12px clamp(22px, 3.5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 26, 25, 0.1);
  box-shadow: 0 4px 24px rgba(17, 24, 21, 0.04);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 4px solid #222;
  border-top: 0;
  border-right-width: 7px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 1px;
  top: -12px;
  width: 35px;
  height: 4px;
  background: #222;
  transform: rotate(-28deg);
  transform-origin: left center;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 10px;
  width: 24px;
  height: 4px;
  background: #222;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 11px;
  height: 11px;
  background: #ee6a1a;
}

.brand-mark span:nth-child(1) { left: 4px; top: 5px; }
.brand-mark span:nth-child(2) { left: 18px; top: 5px; background: #f2a51a; }
.brand-mark span:nth-child(3) { left: 4px; top: 20px; background: #df2e21; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 20px; line-height: 1.15; white-space: nowrap; }
.brand small {
  margin-top: 3px;
  color: #2b2f2d;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 26px);
  min-width: 0;
  color: #303633;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-link::before {
  content: "TEL";
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, auto);
  border: 1px solid var(--line);
  background: var(--white);
}

.language-switch button {
  min-width: 58px;
  min-height: 38px;
  padding: 7px 9px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted-ink);
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.language-switch button:last-child { border-right: 0; }
.language-switch button.active { color: var(--white); background: var(--deep-green); }

.language-switch button:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.contact-phone:focus-visible {
  outline: 3px solid rgba(200, 75, 47, 0.3);
  outline-offset: 3px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(540px, 68vh, 720px);
  overflow: hidden;
  isolation: isolate;
}

.hero img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 23, 19, 0.9) 0%, rgba(11, 23, 19, 0.68) 44%, rgba(11, 23, 19, 0.08) 76%);
}

.hero-content {
  width: min(var(--content), calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0 122px;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #e6c981; }

.hero h1 {
  max-width: 9.5em;
  margin: 0;
  font-size: clamp(42px, 5.7vw, 76px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.9;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button::after, .text-link::after { content: "\2192"; margin-left: 12px; font-size: 18px; line-height: 1; }
.button.primary { color: var(--white); background: var(--red); }
.button.primary:hover { background: #ad3f27; }
.button.secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.button.secondary:hover { color: var(--ink); background: var(--white); }

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--content), calc(100% - 44px));
  margin: -56px auto 0;
  background: var(--white);
  border-top: 4px solid var(--deep-green);
  box-shadow: var(--shadow);
}

.trust-strip div { min-width: 0; padding: 24px 30px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip span, .trust-strip strong { display: block; }
.trust-strip span { margin-bottom: 4px; color: var(--muted-ink); font-size: 12px; }
.trust-strip strong { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.45; }

.section {
  width: min(var(--content), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 10vw, 132px) 0;
}

.section.muted { position: relative; }
.section.muted::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--soft);
}

.section-heading { max-width: 760px; }
.section h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.lead { max-width: 930px; margin: 32px 0 0; color: #4f5955; font-size: clamp(16px, 1.8vw, 19px); line-height: 2.15; }
.section-copy { max-width: 760px; margin: 20px 0 0; color: var(--muted-ink); }

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.35fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.strength-list { border-top: 1px solid var(--line); }
.strength-list article {
  display: grid;
  grid-template-columns: 54px minmax(155px, 0.7fr) minmax(240px, 1.3fr);
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.strength-list span, .service-number { color: var(--red); font-family: var(--font-latin-serif); font-size: 16px; font-weight: 700; }
.strength-list h3, .flow-list h3 { margin: 0; font-size: 18px; line-height: 1.55; }
.strength-list p, .flow-list p, .access-layout p { margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px 32px;
  overflow: hidden;
  background: var(--white);
  border-top: 3px solid var(--deep-green);
  box-shadow: 0 10px 32px rgba(19, 30, 26, 0.07);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(23, 60, 50, 0.13);
  transform: rotate(45deg);
}

.service-card h3 { margin: 42px 0 12px; font-size: 23px; line-height: 1.45; }
.service-card p, .strength-list p, .work-card p, .flow-list p, .access-layout p, .company-note, .contact-section p { color: var(--muted-ink); }

.works-section .section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  column-gap: 70px;
  max-width: none;
  align-items: end;
}

.works-section .section-heading .eyebrow, .works-section .section-heading h2 { grid-column: 1; }
.works-section .section-copy { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.works-section > .works-notice { margin-top: 24px; font-size: 13px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.work-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(21, 30, 27, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(21, 30, 27, 0.12); }
.work-photo {
  position: relative;
  display: grid;
  min-height: 248px;
  place-items: center;
  overflow: hidden;
  background: #dfe4e1;
}

.work-photo img { width: 100%; height: 100%; min-height: 248px; object-fit: cover; transition: transform 400ms ease; }
.work-card:hover .work-photo img { transform: scale(1.025); }
.placeholder-photo { color: rgba(255, 255, 255, 0.9); background: #4a5d56; }
.placeholder-photo::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, 0.35); }
.placeholder-photo span { position: relative; font-size: 13px; font-weight: 800; letter-spacing: 0.8px; }
.work-body { padding: 26px 26px 30px; }
.work-meta { margin: 0 0 10px; color: var(--red) !important; font-size: 12px; font-weight: 800; }
.work-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.5; }
.work-card p:last-child { margin: 0; }

.flow-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(520px, 1.3fr);
  gap: clamp(50px, 9vw, 126px);
}

.flow-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.flow-list span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--white); background: var(--deep-green); font-weight: 800; }
.flow-list p { margin-top: 6px; }

.company-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(48px, 8vw, 108px);
}

.company-note { max-width: 390px; margin: 28px 0 0; }
.company-table { margin: 0; border-top: 3px solid var(--deep-green); }
.company-table div { display: grid; grid-template-columns: 180px 1fr; gap: 26px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company-table dt { color: #48514d; font-size: 13px; font-weight: 800; }
.company-table dd { min-width: 0; margin: 0; }

.access-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(500px, 1.25fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.access-layout p { max-width: 520px; margin-top: 22px; }
.text-link { display: inline-flex; align-items: center; margin-top: 28px; color: var(--deep-green); border-bottom: 1px solid var(--deep-green); font-size: 14px; font-weight: 800; }
.map-panel {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  overflow: hidden;
  color: var(--white);
  background-color: #263f37;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.map-panel::before {
  content: "";
  position: absolute;
  top: 46px;
  right: 54px;
  width: 18px;
  height: 18px;
  border: 6px solid var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-panel span { color: #e6c981; font-size: 13px; font-weight: 800; }
.map-panel strong { margin-top: 4px; font-size: clamp(25px, 3vw, 38px); }
.map-panel small { color: rgba(255, 255, 255, 0.76); font-size: 14px; }

.bilingual-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.bilingual-layout p { max-width: 560px; color: var(--muted-ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag-row span { min-width: 74px; padding: 7px 14px; color: var(--deep-green); background: #edf3ef; border-left: 3px solid var(--red); font-size: 13px; font-weight: 800; text-align: center; }
.wechat-card { margin: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wechat-card img { display: block; width: 100%; height: auto; }
.wechat-card figcaption { padding: 12px 4px 0; color: var(--muted-ink); font-size: 12px; text-align: center; }

.news-layout { display: grid; grid-template-columns: minmax(250px, 0.65fr) minmax(520px, 1.35fr); gap: clamp(44px, 8vw, 110px); }
.news-list { border-top: 1px solid #cbd2ce; }
.news-list article { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 22px 0; border-bottom: 1px solid #cbd2ce; }
.news-list time { color: var(--red); font-size: 13px; font-weight: 800; }
.news-list p { margin: 0; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(380px, 1.15fr) minmax(320px, 0.85fr);
  gap: 50px;
  align-items: center;
  padding: clamp(72px, 9vw, 112px) max(22px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: var(--deep-green);
  border-top: 6px solid var(--red);
}

.contact-section .eyebrow { color: #e6c981; }
.contact-section p { max-width: 680px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.76); }
.contact-actions { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; }
.contact-phone { color: var(--white); font-family: var(--font-latin-serif); font-size: clamp(31px, 4vw, 48px); line-height: 1.25; white-space: nowrap; }
.contact-actions span { margin-top: 8px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.email-link { display: inline-block; max-width: 100%; min-height: 44px; padding-block: 8px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.email-link:hover { text-decoration-thickness: 2px; }
.email-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.contact-email { margin-top: 14px; color: var(--white); font-size: 16px; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 34px;
  align-items: center;
  padding: 28px max(22px, calc((100vw - var(--content)) / 2));
  color: #dfe7e1;
  background: #111715;
  font-size: 12px;
}

.site-footer > span { text-align: center; }

.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.staff-portal-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.staff-portal-link:hover { text-decoration-thickness: 2px; }
.staff-portal-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 1240px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 18px; }
  .site-nav { gap: 18px; }
  .site-nav a[href="#strengths"], .site-nav a[href="#flow"], .site-nav a[href="#news"] { display: none; }
}

@media (max-width: 1020px) {
  html { scroll-padding-top: 150px; }
  .site-header { grid-template-columns: 1fr auto; gap: 8px 18px; padding-block: 10px; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a[href="#strengths"], .site-nav a[href="#flow"], .site-nav a[href="#news"] { display: inline-flex; }
  .service-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child, .work-card:last-child { grid-column: 1 / -1; }
  .split-section, .flow-section, .company-layout, .news-layout, .access-layout, .bilingual-layout, .contact-section { grid-template-columns: 1fr; }
  .split-section, .flow-section, .company-layout, .news-layout, .access-layout, .bilingual-layout { gap: 46px; }
  .contact-actions { align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > span { text-align: left; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 88px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; padding: 9px 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-width: 3px; border-top: 0; border-right-width: 5px; transform: scale(0.86); transform-origin: left center; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 7px; letter-spacing: 0.8px; }
  .phone-link { display: none; }
  .language-switch button { min-width: 44px; min-height: 34px; padding: 5px 6px; font-size: 10px; }
  .site-nav { margin-inline: -16px; padding-inline: 16px; gap: 24px; font-size: 12px; }
  .site-nav a { min-height: 34px; }
  .hero { min-height: 610px; }
  .hero-overlay { background: rgba(11, 23, 19, 0.7); }
  .hero-content { width: calc(100% - 36px); padding: 88px 0 102px; }
  .hero h1 { max-width: 8.5em; font-size: clamp(38px, 11vw, 52px); }
  .hero-copy { font-size: 15px; line-height: 1.85; }
  .button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; width: calc(100% - 36px); margin-top: -42px; }
  .trust-strip div { padding: 17px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .section { width: calc(100% - 36px); padding: 72px 0; }
  .section h2, .contact-section h2 { font-size: 30px; }
  .lead { line-height: 2; }
  .strength-list article, .company-table div, .news-list article { grid-template-columns: 1fr; gap: 7px; }
  .strength-list article { padding: 22px 0; }
  .service-grid, .works-grid { grid-template-columns: 1fr; }
  .service-card:last-child, .work-card:last-child { grid-column: auto; }
  .service-card { min-height: 240px; }
  .works-section .section-heading { display: block; }
  .works-section .section-copy { margin-top: 20px; }
  .flow-list li { grid-template-columns: 52px 1fr; gap: 16px; }
  .map-panel { min-height: 270px; padding: 28px; }
  .wechat-card { padding: 10px; }
  .contact-section { gap: 34px; padding: 68px 18px; }
  .contact-phone { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Warm architectural theme inspired by the provided reference. */
:root {
  --ink: #252822;
  --muted-ink: #6c7167;
  --line: #dedfd7;
  --paper: #faf9f5;
  --soft: #f0f2e9;
  --deep-green: #536638;
  --green: #7e9352;
  --red: #839855;
  --gold: #8b9961;
  --shadow: 0 16px 42px rgba(57, 66, 43, 0.1);
}

body {
  background: var(--paper);
}

.site-header {
  min-height: 78px;
  background: rgba(250, 249, 245, 0.96);
  border-bottom-color: rgba(83, 102, 56, 0.1);
  box-shadow: none;
}

.site-nav {
  color: #4c5148;
  font-weight: 600;
}

.site-nav a::after {
  height: 1px;
  background: var(--green);
}

.phone-link,
.language-switch button.active {
  color: var(--deep-green);
}

.language-switch {
  border-color: #d7d9cf;
  border-radius: 6px;
  overflow: hidden;
}

.language-switch button.active {
  background: #e5ead8;
}

.hero {
  min-height: clamp(560px, 70vh, 700px);
  background: #efeee7;
}

.hero img {
  object-position: 64% center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(250, 249, 245, 0.98) 0%, rgba(250, 249, 245, 0.9) 32%, rgba(250, 249, 245, 0.46) 54%, rgba(250, 249, 245, 0.02) 78%);
}

.hero-content {
  padding-bottom: 118px;
  color: var(--ink);
}

.hero .eyebrow {
  color: var(--green);
}

.hero h1,
.section h2,
.contact-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
}

.hero h1 {
  max-width: 8.2em;
  font-size: clamp(43px, 5.2vw, 70px);
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  color: #5f655b;
  font-size: clamp(15px, 1.4vw, 18px);
}

.button {
  min-height: 50px;
  border-radius: 6px;
}

.button.primary {
  background: var(--green);
}

.button.primary:hover {
  background: var(--deep-green);
}

.button.secondary {
  color: var(--deep-green);
  border-color: rgba(83, 102, 56, 0.5);
  background: rgba(250, 249, 245, 0.66);
}

.button.secondary:hover {
  color: var(--white);
  background: var(--deep-green);
}

.trust-strip {
  margin-top: -48px;
  border: 1px solid rgba(83, 102, 56, 0.14);
  border-top: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(65, 74, 52, 0.1);
  overflow: hidden;
}

.trust-strip div {
  position: relative;
  padding: 22px 28px 22px 48px;
}

.trust-strip div::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 24px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.section {
  padding-top: clamp(82px, 9vw, 116px);
  padding-bottom: clamp(82px, 9vw, 116px);
}

.section.muted::before {
  background: var(--soft);
}

.eyebrow {
  color: var(--green);
}

.eyebrow::before {
  width: 22px;
  height: 1px;
}

.section h2,
.contact-section h2 {
  font-size: clamp(31px, 3.7vw, 45px);
}

.lead {
  max-width: 850px;
}

.strength-list article {
  border-color: #d9dbd2;
}

.strength-list span,
.service-number,
.work-meta,
.news-list time {
  color: var(--green) !important;
}

.service-grid {
  gap: 16px;
}

.service-card {
  min-height: 260px;
  border: 1px solid #e0e2d9;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(65, 74, 52, 0.06);
}

.service-card::after {
  right: -40px;
  bottom: -44px;
  border-color: rgba(126, 147, 82, 0.16);
  border-radius: 50%;
  transform: none;
}

.service-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e7ebdb;
  font-family: inherit;
  font-size: 12px;
}

.service-card h3 {
  margin-top: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.works-grid {
  gap: 18px;
}

.work-card {
  border-color: #e0e2d9;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(65, 74, 52, 0.07);
}

.work-photo {
  min-height: 230px;
}

.placeholder-photo {
  background: #738064;
}

.work-body {
  padding: 23px 24px 27px;
}

.work-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
}

.flow-list span {
  color: var(--deep-green);
  border-radius: 50%;
  background: #e5ead8;
}

.company-table {
  border-top-color: var(--green);
}

.map-panel {
  border-radius: 8px;
  background-color: #6b785d;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
}

.map-panel::before {
  border-color: #d9e6ad;
}

.tag-row span {
  border-left: 0;
  border-radius: 6px;
  background: #e7ebdb;
}

.wechat-card {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(65, 74, 52, 0.09);
}

.contact-section {
  background: #667653;
  border-top: 0;
}

.contact-section .eyebrow {
  color: #e0e8c2;
}

.site-footer {
  background: #3f4937;
}

@media (max-width: 1420px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .site-nav a[href="#strengths"],
  .site-nav a[href="#flow"],
  .site-nav a[href="#news"] {
    display: none;
  }
}

@media (max-width: 1020px) {
  .site-nav a[href="#strengths"],
  .site-nav a[href="#flow"],
  .site-nav a[href="#news"] {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(250, 249, 245, 0.96), rgba(250, 249, 245, 0.72));
  }

  .hero h1 {
    font-size: clamp(37px, 10.5vw, 48px);
  }

  .trust-strip div {
    padding-left: 46px;
  }
}

/* Luxury real estate layout based on the user-provided template. */
:root {
  --ink: #17231d;
  --muted-ink: #68716c;
  --line: #dde1dc;
  --paper: #fbfaf7;
  --soft: #f4f2ed;
  --deep-green: #112c21;
  --green: #204a38;
  --red: #b59a62;
  --gold: #b59a62;
  --shadow: 0 18px 48px rgba(17, 44, 33, 0.12);
}

main {
  display: flex;
  flex-direction: column;
}

.hero { order: 1; }
.trust-strip { order: 2; }
.works-section { order: 3; }
.split-section { order: 4; }
.credential-band { order: 5; }
.intro-section { order: 6; }
#service { order: 7; }
.flow-section { order: 8; }
.company-layout { order: 9; }
.access-layout { order: 10; }
.bilingual-layout { order: 11; }
.news-layout { order: 12; }
.contact-section { order: 13; }

.site-header {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0;
  box-shadow: 0 5px 22px rgba(17, 44, 33, 0.06);
}

.brand strong {
  color: var(--deep-green);
}

.site-nav {
  color: #27372f;
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav a::after {
  background: var(--gold);
}

.language-switch button.active {
  color: var(--white);
  background: var(--deep-green);
}

.hero {
  min-height: clamp(620px, 78vh, 790px);
  align-items: center;
  background: var(--deep-green);
}

.hero img {
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 23, 17, 0.9) 0%, rgba(7, 23, 17, 0.72) 40%, rgba(7, 23, 17, 0.16) 72%, rgba(7, 23, 17, 0.04) 100%);
}

.hero-content {
  padding: 94px 0 128px;
  color: var(--white);
}

.hero .eyebrow {
  color: #d7c18d;
}

.hero h1 {
  max-width: 10.8em;
  color: var(--white);
  font-size: clamp(45px, 5.3vw, 72px);
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}

.button {
  border-radius: 4px;
}

.button.primary {
  color: var(--white);
  background: var(--deep-green);
  border-color: rgba(255, 255, 255, 0.22);
}

.button.primary:hover {
  color: var(--deep-green);
  background: #d7c18d;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(17, 44, 33, 0.22);
}

.button.secondary:hover {
  color: var(--deep-green);
  background: var(--white);
}

.trust-strip {
  grid-template-columns: 1fr 1fr 1fr 0.9fr;
  width: min(1220px, calc(100% - 44px));
  margin-top: -54px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(14, 35, 27, 0.16);
}

.trust-strip div,
.trust-strip .trust-cta {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.trust-strip div::before {
  border-color: var(--gold);
}

.trust-strip .trust-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 14px;
  padding: 16px 24px;
  color: var(--white);
  background: var(--deep-green);
  border: 0;
  border-radius: 4px;
}

.trust-strip .trust-cta span {
  color: rgba(255, 255, 255, 0.65);
}

.trust-strip .trust-cta strong::after {
  content: "\2192";
  margin-left: 12px;
  color: #d7c18d;
}

.works-section {
  padding-top: 112px;
}

.works-section .section-heading {
  align-items: end;
}

.works-grid {
  gap: 20px;
}

.work-card {
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(17, 44, 33, 0.08);
}

.work-photo {
  min-height: 270px;
}

.placeholder-photo {
  background-color: #314b40;
  background-image: linear-gradient(145deg, rgba(181, 154, 98, 0.18), transparent 58%);
}

.work-body {
  padding: 25px 26px 30px;
}

.work-card h3 {
  font-size: 21px;
}

.split-section {
  display: block;
  width: min(var(--content), calc(100% - 44px));
  padding-top: 94px;
}

.split-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--soft);
}

.split-section {
  position: relative;
}

.split-section .section-heading {
  max-width: 660px;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
  border-top: 0;
}

.strength-list article {
  display: block;
  min-height: 230px;
  padding: 30px;
  background: var(--white);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(17, 44, 33, 0.05);
}

.strength-list span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  place-items: center;
  color: #d7c18d !important;
  background: var(--deep-green);
  border-radius: 50%;
}

.strength-list h3 {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
}

.credential-band {
  order: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--content), calc(100% - 44px));
  margin: 0 auto 20px;
  color: var(--white);
  background: var(--deep-green);
  border-radius: 8px;
  overflow: hidden;
}

.credential-band div {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.credential-band div:last-child {
  border-right: 0;
}

.credential-band span,
.credential-band strong {
  display: block;
}

.credential-band span {
  margin-bottom: 5px;
  color: #cdbb91;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.credential-band strong {
  font-size: 15px;
  line-height: 1.55;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.9fr);
  column-gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.intro-section::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 430px;
  background: url("assets/hero-osaka-realestate.png") center / cover no-repeat;
  border-radius: 8px;
}

.intro-section .section-heading,
.intro-section .lead {
  grid-column: 2;
}

.intro-section .section-heading {
  grid-row: 1;
  align-self: end;
}

.intro-section .lead {
  grid-row: 2;
  align-self: start;
  margin-top: 24px;
  font-size: 16px;
  line-height: 2;
}

.service-card {
  border-top: 0;
  box-shadow: 0 8px 24px rgba(17, 44, 33, 0.06);
}

.service-number {
  color: #d7c18d !important;
  background: var(--deep-green);
}

.flow-list span {
  color: var(--deep-green);
  background: #e9e1cf;
}

.company-table {
  border-top-color: var(--gold);
}

.map-panel {
  background-color: var(--deep-green);
}

.contact-section {
  background: var(--deep-green);
  border-top: 5px solid var(--gold);
}

.site-footer {
  background: #0a1d16;
}

@media (max-width: 1020px) {
  .works-section .section-heading {
    display: block;
  }

  .works-section .section-copy {
    margin-top: 20px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip .trust-cta {
    min-height: 96px;
  }

  .strength-list {
    grid-template-columns: 1fr;
  }

  .strength-list article {
    min-height: 0;
  }

  .credential-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-section::before,
  .intro-section .section-heading,
  .intro-section .lead {
    grid-column: 1;
  }

  .intro-section::before {
    grid-row: 1;
  }

  .intro-section .section-heading {
    grid-row: 2;
    margin-top: 42px;
  }

  .intro-section .lead {
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 690px;
  }

  .hero img {
    object-position: 66% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 23, 17, 0.92), rgba(7, 23, 17, 0.54));
  }

  .hero h1 {
    font-size: clamp(37px, 10.5vw, 49px);
  }

  .hero-copy {
    color: rgba(255, 255, 255, 0.83);
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip .trust-cta {
    margin: 12px;
  }

  .works-section {
    padding-top: 86px;
  }

  .credential-band {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

  .credential-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .credential-band div:last-child {
    border-bottom: 0;
  }

  .intro-section::before {
    min-height: 300px;
  }
}

/* The header mark and lettering are cropped from the supplied master logo. */
.brand {
  flex: 0 0 auto;
  gap: 9px;
  min-width: 215px;
  overflow: hidden;
}

.brand-symbol-image,
.brand-wordmark-image {
  display: block;
  flex: 0 0 auto;
  background-image: url("assets/sumiyoshi-logo-gradient.png");
  background-repeat: no-repeat;
}

.brand-symbol-image {
  width: 54px;
  height: 45px;
  background-size: 73px 73px;
  background-position: -4px -4px;
}

.brand-wordmark-image {
  width: 147px;
  height: 38px;
  background-size: 179px 179px;
  background-position: -16px -139px;
}

.brand-name-lockup {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  width: 147px;
}

.brand-name-lockup small {
  display: block;
  margin-top: -1px;
  margin-left: 5px;
  color: #2c2b2a;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.65px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .brand {
    gap: 7px;
    min-width: 181px;
  }

  .brand-symbol-image {
    width: 45px;
    height: 38px;
    background-size: 62px 62px;
    background-position: -3px -3px;
  }

  .brand-wordmark-image {
    width: 124px;
    height: 33px;
    background-size: 151px 151px;
    background-position: -13px -117px;
  }

  .brand-name-lockup {
    width: 124px;
  }

  .brand-name-lockup small {
    margin-left: 4px;
    font-size: 6.5px;
    letter-spacing: 1.35px;
  }
}

/* Optional logo palette. The original green theme remains unchanged. */
:root {
  --brand-charcoal: #343230;
  --brand-orange: #f26522;
  --brand-amber: #f5a000;
  --brand-link: #b83a0c;
  --ink: #292929;
  --muted-ink: #626262;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f5;
  /* Map the existing component tokens to the alternate palette. */
  --deep-green: var(--brand-charcoal);
  --green: var(--brand-link);
  --red: var(--brand-orange);
  --gold: var(--brand-amber);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
}

body { letter-spacing: 0; }
::selection { color: #ffffff; background: var(--brand-link); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 4px;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
}
.site-nav { color: var(--brand-charcoal); }
.site-nav a { min-height: 44px; }
.site-nav a::after { height: 2px; background: var(--brand-orange); }
.site-nav a:hover { color: var(--brand-link); }
.phone-link { min-height: 44px; }
.phone-link::before { color: var(--brand-link); letter-spacing: 0; }
.language-switch { border-color: #d5d5d5; border-radius: 4px; }
.language-switch button { min-height: 44px; }
.language-switch button.active { color: #ffffff; background: var(--brand-charcoal); }
.language-switch button:not(.active):hover { background: #f0f0f0; }

.hero { min-height: 650px; background: #242424; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(24, 24, 24, 0.92) 0%, rgba(24, 24, 24, 0.78) 36%, rgba(24, 24, 24, 0.28) 68%, rgba(24, 24, 24, 0.03) 100%);
}
.hero-content { padding: 64px 0 108px; }
.hero h1 { max-width: 10.8em; font-size: 60px; line-height: 1.3; }
.hero-copy { max-width: 580px; color: #eeeeee; font-size: 16px; }
.eyebrow { color: var(--brand-link); letter-spacing: 0; }
.eyebrow::before { width: 28px; height: 3px; flex-shrink: 0; background: var(--brand-orange); }
.hero .eyebrow { color: #ffffff; }
.hero .eyebrow::before { background: var(--brand-amber); }
.button { min-height: 52px; }
.button.primary {
  color: #181818;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}
.button.primary:hover { color: #181818; background: #ff803d; border-color: #ff803d; }
.button.secondary { color: #ffffff; background: rgba(20, 20, 20, 0.45); border-color: #cccccc; }
.button.secondary:hover { color: var(--ink); background: #ffffff; }

.trust-strip {
  border-top: 3px solid var(--brand-orange);
  border-radius: 0;
  box-shadow: var(--shadow);
}
.trust-strip div::before { display: none; }
.trust-strip strong { font-size: 16px; overflow-wrap: anywhere; }
.trust-strip .trust-cta { background: var(--brand-charcoal); }
.trust-strip .trust-cta:hover { background: #202020; }
.trust-strip .trust-cta span { color: #dddddd; }
.trust-strip .trust-cta strong::after { color: var(--brand-amber); }

.section h2, .contact-section h2 { font-size: 40px; }
.section h2, .contact-section h2, .work-card h3 { overflow-wrap: break-word; }
.lead { color: #565656; font-size: 18px; }
.work-card {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.work-card:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08); }
.work-photo { background: #e7e7e7; }
.placeholder-photo { color: #ffffff; background: #484848; }
.placeholder-photo::before { border-color: #777777; }
.placeholder-photo span { letter-spacing: 0; }
.work-body { border-top: 3px solid var(--brand-orange); }
.work-meta, .news-list time { color: var(--brand-link) !important; }

.strength-list article { box-shadow: none; border-top: 2px solid #dedede; border-radius: 0; }
.strength-list span, .service-number {
  color: #ffffff !important;
  background: var(--brand-charcoal);
  border-radius: 4px;
}
.strength-list article:nth-child(2) { border-top-color: var(--brand-orange); }
.strength-list article:nth-child(3) { border-top-color: var(--brand-amber); }
.credential-band { border-radius: 0; background: var(--brand-charcoal); }
.credential-band span { color: var(--brand-amber); }
.service-card { border-color: var(--line); box-shadow: none; border-radius: 4px; }
.service-card::after { display: none; }
.service-number { border-bottom: 3px solid var(--brand-orange); }
.flow-list span { color: #ffffff; background: var(--brand-charcoal); border-radius: 4px; }
.company-table { border-top-color: var(--brand-orange); }
.company-table dt { color: #505050; }
.text-link { min-height: 44px; color: var(--brand-link); border-color: var(--brand-link); }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.map-panel { background-color: var(--brand-charcoal); border-radius: 4px; }
.map-panel::before { border-color: var(--brand-orange); }
.map-panel span { color: var(--brand-amber); }
.map-panel strong { font-size: 32px; overflow-wrap: anywhere; }
.tag-row span { color: var(--brand-charcoal); background: #eeeeee; border-radius: 4px; }
.wechat-card { border-radius: 4px; box-shadow: var(--shadow); }
.news-list, .news-list article { border-color: var(--line); }
.contact-section { background: #292929; border-top: 4px solid var(--brand-orange); }
.contact-section .eyebrow { color: var(--brand-amber); }
.contact-section p { color: #dddddd; }
.contact-phone { color: #ffffff; font-size: 44px; }
.contact-phone:hover { color: var(--brand-amber); }
.contact-actions span { color: #cccccc; }
.site-footer { color: #dedede; background: #1c1c1c; border-top: 1px solid #404040; }

@media (min-width: 1021px) and (max-width: 1160px) {
  .site-nav { gap: 14px; }
  .phone-link { display: none; }
}

@media (max-width: 1020px) {
  .hero { min-height: 610px; }
  .hero h1 { font-size: 50px; }
  .hero-content { padding: 58px 0 100px; }
  .section h2, .contact-section h2 { font-size: 36px; }
  .strength-list { grid-template-columns: 1fr; }
  .strength-list article { min-height: 0; }
  .strength-list span { margin-bottom: 18px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 136px; }
  .site-header { column-gap: 10px; }
  .hero { min-height: 0; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(24, 24, 24, 0.91), rgba(24, 24, 24, 0.64));
  }
  .hero-content { padding: 40px 0 84px; }
  .hero h1 { font-size: 36px; line-height: 1.35; }
  .hero-copy { margin-top: 22px; font-size: 14px; line-height: 1.85; }
  .hero-buttons { margin-top: 24px; }
  .hero .eyebrow { font-size: 11px; }
  .button { min-height: 48px; padding: 10px 18px; }
  .trust-strip div { padding: 17px 20px; }
  .trust-strip strong { font-size: 16px; }
  .section h2, .contact-section h2 { font-size: 29px; }
  .lead { font-size: 16px; }
  .map-panel strong { font-size: 25px; }
  .contact-phone { font-size: 32px; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 10px; column-gap: 6px; }
  .brand { min-width: 0; gap: 5px; }
  .brand-symbol-image { width: 34px; height: 30px; background-size: 47px 47px; background-position: -2px -2px; }
  .language-switch button { padding-inline: 4px; }
  .hero h1 { font-size: 32px; }
  .section h2, .contact-section h2 { font-size: 27px; }
  .contact-phone { font-size: 30px; }
}
