/* Larenia Co., Ltd. — local styles only, no external assets */
:root {
  --bg: #f3eee4;
  --bg-elev: #fffdf8;
  --ink: #1a241c;
  --muted: #4d574f;
  --line: #d5cec0;
  --accent: #215839;
  --accent-soft: #e6efe8;
  --todo-bg: #f6ebc8;
  --todo-ink: #3f3414;
  --todo-line: #c9b57a;
  --max: 72rem;
  --measure: 42rem;
  --radius: 0.85rem;
  --shadow: 0 1px 2px rgba(26, 36, 28, 0.06), 0 8px 24px rgba(26, 36, 28, 0.05);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18px — easier to read on a phone in sunlight */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, .nav-toggle-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
  padding-block: 0.45rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}
.wordmark span {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--muted);
  margin-top: 0.22rem;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav {
  display: none;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
}
.nav a {
  display: block;
  padding: 0.7rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.nav a[aria-current="page"] { font-weight: 700; color: var(--accent); }
.nav-toggle:checked ~ .nav { display: block; }
.nav-toggle:checked + .header-inner .nav-toggle-btn { background: var(--accent-soft); }

@media (min-width: 52rem) {
  .site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 3.6rem;
  }
  .header-inner {
    min-height: 0;
    padding-block: 0;
    flex: 0 0 auto;
  }
  .nav-toggle-btn { display: none; }
  .nav {
    display: block;
    margin-left: auto;
  }
  .nav ul {
    display: flex;
    gap: 0.2rem 1.15rem;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav a {
    border: 0;
    padding: 0.45rem 0;
    font-size: 0.92rem;
  }
}

/* Hero / page titles */
.hero, .page-head {
  padding: 2.4rem 0 1.6rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
  font-weight: 650;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.lede, .page-head p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 44rem;
  margin: 0;
}

/* Brand cards */
.brands {
  display: grid;
  gap: 1rem;
  padding-bottom: 2.6rem;
}
.brand {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.brand h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
  font-weight: 600;
}
.brand p { margin: 0; color: var(--muted); }

@media (min-width: 48rem) {
  .brands { grid-template-columns: repeat(3, 1fr); }
}

.note {
  padding: 0 0 2.8rem;
  color: var(--muted);
  max-width: var(--measure);
}

/* Legal / article pages */
.article {
  max-width: var(--measure);
  padding: 0 0 3.2rem;
}
.article h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 1.8rem 0 0.55rem;
  font-weight: 600;
}
.article h3 {
  font-size: 1.02rem;
  margin: 1.2rem 0 0.4rem;
}
.article p, .article li { color: var(--ink); }
.article p { margin: 0 0 0.85rem; }
.article ul, .article ol { margin: 0 0 0.95rem; padding-left: 1.2rem; }
.article li { margin: 0 0 0.35rem; }
.article .updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
}

/* Contact */
.contact-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  margin: 0 0 1.2rem;
  box-shadow: var(--shadow);
}
.contact-block h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--serif);
}
.contact-block p { margin: 0; }
.email {
  font-size: 1.2rem;
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}

.todo {
  background: var(--todo-bg);
  border: 1px dashed var(--todo-line);
  color: var(--todo-ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.2rem;
}
.todo strong {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.article .todo,
.article .todo p,
.article .todo a { color: var(--todo-ink); }
.article .todo p:last-child { margin-bottom: 0; }


/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  background: #ebe5d8;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: grid;
  gap: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-name { color: var(--ink); font-weight: 650; }

@media (min-width: 48rem) {
  .hero { padding-top: 3.2rem; padding-bottom: 2rem; }
}

.nowrap { white-space: nowrap; }

.legal-entity p { margin: 0 0 0.7rem; }
.addr {
  font-style: normal;
  display: block;
  margin: 0.2rem 0 0;
  line-height: 1.5;
}
.addr .th { display: block; margin-top: 0.35rem; }
.reg-no { font-variant-numeric: tabular-nums; }
