:root {
  --red: #D94A40;
  --ink: #20242A;
  --paper: #F7F4EE;
  --line: #D8D1C6;
  --white: #FFFFFF;
  --black: #101214;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 30; opacity: 0; pointer-events: none; background: var(--white); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { opacity: 1; pointer-events: auto; }

.site-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: var(--red);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand-lockup { display: flex; align-items: center; gap: .65rem; width: max-content; text-decoration: none; }
.header-symbol { width: 44px; height: 32px; object-fit: contain; }
.header-wordmark { width: 94px; height: auto; display: block; }
.site-nav, .language-picker { display: flex; align-items: center; gap: 1.5rem; font-size: .8rem; }
.site-nav a, .language-picker a { text-decoration: none; white-space: nowrap; }
.site-nav a:focus-visible, .language-picker a:focus-visible, .site-nav a:hover, .language-picker a:hover { text-decoration: underline; text-underline-offset: .35em; }
.language-picker { gap: .7rem; }
.language-picker a + a { border-left: 1px solid rgba(255,255,255,.45); padding-left: .7rem; }
.language-picker .active { font-weight: 700; text-decoration: underline; text-underline-offset: .35em; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(690px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3rem, 7vw, 7rem) clamp(1.4rem, 5vw, 5rem); }
.hero-wordmark { width: min(100%, 430px); height: auto; display: block; margin-bottom: clamp(2rem, 5vw, 4rem); }
.hero-intro { max-width: 35rem; margin: 0 0 2rem; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.62; letter-spacing: -.025em; }

.hero-art-wrap { position: absolute; inset: 0; z-index: 0; min-height: 100%; overflow: hidden; background: transparent; pointer-events: none; }
.hero-art { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .56; mix-blend-mode: screen; }
.hero-art-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red) 0%, rgba(217,74,64,.9) 28%, rgba(217,74,64,.18) 65%, transparent 100%); }
.hero-domain { position: absolute; z-index: 3; left: clamp(1.4rem, 5vw, 5rem); bottom: 1.5rem; margin: 0; font-size: .68rem; letter-spacing: .03em; }

.section-pad { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.4rem, 5vw, 5rem); }
.services { background: var(--paper); }
.section-lead { max-width: var(--max); margin: 0 auto 3.5rem; }
.section-symbol { width: 72px; height: 50px; object-fit: contain; object-position: left center; margin: 0 0 1.1rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--red); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: lowercase; }
h1, h2, p { overflow-wrap: break-word; }
.section-lead h1 { max-width: 48rem; margin: 0; font-size: clamp(2.2rem, 5.3vw, 4.8rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 650; }
.section-lead > p:not(.eyebrow) { margin: 1.25rem 0 0; font-size: clamp(1.02rem, 1.7vw, 1.35rem); }
.service-grid { max-width: var(--max); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); }
.service-card { min-width: 0; padding: 1.15rem 1.4rem 0 0; }
.service-card + .service-card { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.service-card span { color: var(--red); font-size: .7rem; letter-spacing: .08em; }
.service-card h2 { margin: .6rem 0; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.025em; }
.service-card p { margin: 0; color: #4B5058; font-size: .95rem; }


.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1.4rem, 5vw, 5rem); background: var(--black); color: var(--white); border-top: 1px solid #3A3E45; font-size: .8rem; }
.site-footer span:last-child { color: #B4BBC4; }

@media (max-width: 760px) {
  .site-header { min-height: auto; grid-template-columns: 1fr auto; gap: .9rem; padding-block: .9rem; }
  .site-nav { display: none; }
  .header-symbol { width: 36px; height: 28px; }
  .header-wordmark { width: 79px; }
  .language-picker { gap: .48rem; font-size: .68rem; }
  .language-picker a + a { padding-left: .48rem; }
  .hero { min-height: 700px; grid-template-columns: 1fr; grid-template-rows: 1fr 240px; }
  .hero-copy { justify-content: flex-start; padding-top: 3.5rem; }
  .hero-wordmark { width: min(82vw, 300px); margin-bottom: 1.8rem; }
  .hero-intro { max-width: 23rem; font-size: 1.1rem; }
  .hero-art-wrap { min-height: 240px; }
  .hero-art { object-position: 58% 54%; }
  .hero-domain { bottom: 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.2rem 0; }
  .service-card + .service-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .site-footer { align-items: flex-start; flex-direction: column; }
}

.site-header { position: relative; z-index: 10; }
.site-nav { gap: 1.8rem; font-size: .95rem; font-weight: 650; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }

.language-control { position: relative; padding-left: 1.4rem; border-left: 1px solid rgba(32,36,42,.3); }
.language-control summary { display: flex; align-items: center; gap: .65rem; min-height: 44px; font-size: .76rem; cursor: pointer; list-style: none; }
.language-control summary::-webkit-details-marker { display: none; }
.language-control .language-picker { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 155px; display: grid; gap: 0; background: #FFF8F0; color: #20242A; padding: .5rem; border: 1px solid #BC8E80; box-shadow: 0 6px 20px #0002; }
.language-control .language-picker a { display: block; padding: .65rem .8rem; border: 0; font-size: .85rem; min-height: 44px; }
.language-control .language-picker a:hover, .language-control .language-picker a.active { background: #F7DACF; }
.site-footer { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; padding: 4rem clamp(1.4rem,5vw,5rem) 1.4rem; background: #F6EFE5; color: #20242A; border-top: 1px solid #D4B9AA; }
.footer-brand img { width: 140px; height: auto; display: block; }
.footer-brand p { max-width: 19rem; line-height: 1.7; margin: 1.3rem 0 .6rem; }
.footer-brand span { color: #605851; font-size: .8rem; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.footer-group h2 { font-size: .72rem; color: #7E493E; margin: 0 0 .8rem; letter-spacing: .04em; }
.footer-group a { font-size: .9rem; min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.footer-group a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; gap: 2rem; border-top: 1px solid #D4B9AA; padding-top: 1.4rem; font-size: .75rem; }
@media (max-width:760px) {
 .site-nav { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 1.3rem; font-size: .85rem; border-top: 1px solid #B43E35; padding-top: .5rem; }
 .language-control { justify-self: end; border: 0; padding-left: .6rem; }
 .site-footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
 .footer-brand { grid-column: 1 / -1; }
}
.brand-lockup { gap: 25px; padding-block: 13px; }
.header-symbol { width: auto; height: 50px; object-fit: contain; }
.header-wordmark { width: 122px; }
@media (max-width:1000px) {
 .header-symbol { display: none; }
 .brand-lockup { gap: 0; padding-block: 10px; }
 .header-wordmark { width: 100px; }
}
/* Footer is compact secondary navigation, never a full content section. */
.site-footer { padding: 1.5rem clamp(1.4rem,5vw,5rem) .85rem; column-gap: 2rem; row-gap: 1rem; }
.footer-brand img { width: 105px; }
.footer-brand p { margin: .65rem 0 .3rem; font-size: .8rem; line-height: 1.5; }
.footer-brand span, .footer-group p { font-size: .72rem; }
.footer-group { gap: 0; }
.footer-group h2 { margin: 0 0 .3rem; font-size: .7rem; }
.footer-group a { font-size: .8rem; min-height: 32px; }

.footer-bottom { padding-top: .65rem; font-size: .7rem; }
@media (max-width:760px) {
 .site-footer { padding-block: 1.4rem .8rem; gap: 1rem 1.2rem; }
 .footer-brand img { width: 92px; }
 .footer-brand p { margin-block: .5rem .2rem; }
 .footer-group a { min-height: 44px; }
 .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
