:root {
  --ink: #103834;
  --muted: #455f59;
  --primary: #164766;
  --accent: #00877f;
  --whatsapp: #25d366;
  --chat-ink: #103827;
  --line: #d3ddd5;
  --white: #fff;
  --sand: #f6f5ed;
  --wrap: 1160px;
  font:
    100%/1.56 "Avenir Next",
    "Hiragino Sans",
    "Yu Gothic",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: #fafbf6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html {
  scroll-padding-top: 18px;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
select {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin: auto;
}
h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: wrap;
}
h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.45rem);
  letter-spacing: -0.065em;
  font-weight: 740;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  letter-spacing: -0.05em;
  font-weight: 720;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.024em;
}
.headline-line {
  display: block;
  white-space: nowrap;
}
.headline-accent {
  color: inherit;
}
:lang(ja) h1 {
  font-size: clamp(1.65rem, 3.55vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}
:lang(ja) h2 {
  line-height: 1.3;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}
:lang(ja) h3 {
  line-height: 1.4;
}
.top {
  background: white;
  border-bottom: 1px solid var(--line);
}
.top .wrap,
.foot .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
.logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 0.9rem;
  font-weight: 650;
}
.top nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.top nav a {
  font-size: 0.94rem;
  text-decoration: none;
}
.top nav a:hover {
  text-decoration: underline;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 690;
  line-height: 1.35;
}
.btn:hover {
  background: #10374f;
}
.btn[data-consult] {
  background: var(--whatsapp);
  color: var(--chat-ink);
}
.btn[data-consult]:hover {
  background: #20bf5b;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.small {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 0.94rem;
}
.hero {
  background: var(--primary);
  color: white;
}
.hero-grid {
  width: min(1450px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
}
.hero-copy {
  align-self: center;
  padding: clamp(40px, 5vw, 78px) clamp(24px, 4vw, 65px) clamp(40px, 5vw, 78px)
    max(32px, calc((min(100vw, 1450px) - var(--wrap)) / 2));
}
.over {
  font-weight: 680;
  font-size: 0.85rem;
  letter-spacing: 0.045em;
  display: block;
  margin-bottom: 13px;
  color: #176860;
}
.hero .over {
  color: #c7e5d2;
}
.hero-copy p {
  margin: 18px 0 25px;
  max-width: 40ch;
  color: #e7f1f7;
  font-size: 1.08rem;
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 370px;
  max-height: 525px;
  object-fit: cover;
  object-position: 52% 45%;
}
.actions {
  display: flex;
  gap: 13px 20px;
  flex-wrap: wrap;
  align-items: center;
}
.text-link {
  font-weight: 650;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.choose {
  padding: 30px 0 0;
}
.choose h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.choice-grid {
  margin-top: 13px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.choice-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: white;
  border: 1px solid #bfd0c6;
  border-radius: 12px;
  min-height: 64px;
  text-decoration: none;
  font-weight: 660;
  line-height: 1.35;
}
.choice-grid a:hover {
  border-color: var(--accent);
  background: #f0f8f6;
}
.choice-icon {
  color: #006d67;
  border-radius: 10px;
  background: #e4f3ef;
  width: 35px;
  height: 35px;
  display: grid;
  place-content: center;
  flex: none;
}
.feature,
.stories,
.timeline,
.qa,
.end-wrap {
  padding-block: clamp(42px, 6vw, 80px);
}
.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.feature.reverse {
  grid-template-columns: 1.25fr 0.85fr;
}
.reverse .portrait {
  order: 2;
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 22px;
}
.content > p {
  margin-top: 14px;
}
.content > .btn {
  margin-top: 19px;
}
.moneybox {
  background: #e9f0e6;
  border: 1px solid #d3e0ce;
  border-radius: 16px;
  padding: 10px 18px;
  margin-top: 20px;
}
.moneybox div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.moneybox div + div {
  border-top: 1px solid #cbd9ca;
}
.moneybox strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.moneybox .total strong {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.045em;
}
.sources,
small {
  font-size: 0.875rem;
}
.sources a {
  display: inline-block;
  padding: 5px 0;
}
.content details {
  margin-top: 10px;
}
.content details p {
  margin: 6px 0;
}
.content summary,
.qa summary {
  font-weight: 650;
  min-height: 44px;
  padding: 10px 0;
}
.pace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.pace div {
  border-left: 3px solid #80a798;
  background: #f0f3ea;
  padding: 11px 14px;
}
.pace strong {
  display: block;
  font-size: 1.18rem;
}
.practice {
  border-left: 2px solid #7d9d93;
  padding-left: 13px;
  margin-top: 10px;
}
.practice b,
.practice span {
  display: block;
}
.list {
  padding-left: 19px;
  margin-top: 15px;
}
.list li + li {
  margin-top: 8px;
}
.stories {
  background: #f0f1e7;
}
.stories h2,
.timeline h2 {
  margin-bottom: 10px;
}
.deck {
  max-width: 67ch;
  color: var(--muted);
}
.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0;
}
.scenes img {
  aspect-ratio: 1.35;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
}
.scenes h3 {
  margin: 12px 0 6px;
}
.stories .btn {
  margin-top: 16px;
}
.story-note {
  max-width: 76ch;
}
.family-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}
.family {
  background: #f7ede2;
  padding-block: clamp(35px, 6vw, 70px);
}
.family img {
  border-radius: 22px;
  width: 100%;
  height: auto;
}
.timeline ol {
  list-style: none;
  counter-reset: stage;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0 14px;
  padding: 0;
}
.timeline li {
  counter-increment: stage;
  border-top: 1px solid #9eb9aa;
  padding-top: 12px;
}
.timeline li:before {
  content: counter(stage);
  display: inline-grid;
  place-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e1eadb;
  font-weight: 700;
  margin: 0 8px 10px 0;
}
.timeline em {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}
.timeline h3 {
  font-size: 1.12rem;
}
.timeline li p {
  margin-top: 8px;
}
.qa {
  padding-top: 0;
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa h2 {
  margin-bottom: 14px;
}
.qa summary {
  padding: 15px 0;
}
.qa p {
  max-width: 70ch;
  padding-bottom: 15px;
}
.end-wrap {
  padding-top: 0;
}
.end {
  background: var(--primary);
  color: white;
  border-radius: 24px;
  padding: clamp(24px, 4.4vw, 58px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.end p {
  color: #deeee5;
  margin-top: 14px;
}
.composer label {
  display: block;
  font-weight: 650;
}
.composer select {
  -webkit-appearance: none;
  appearance: none;
  margin: 5px 0 8px;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 44px 9px 16px;
  color: var(--ink);
  background-color: white;
  background-image: url("../img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}
.quote {
  display: block;
  background: #eaf2e4;
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 12px;
  line-height: 1.45;
  margin-bottom: 12px;
}
.foot {
  border-top: 1px solid var(--line);
  background: white;
}
.foot .wrap {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.875rem;
}
.foot .logo {
  width: 130px;
  height: auto;
}
.sticky {
  display: none;
}
dialog {
  max-width: min(440px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  color: var(--ink);
}
dialog h2 {
  font-size: 1.45rem;
}
dialog p {
  margin: 12px 0;
}
dialog::backdrop {
  background: #092b24aa;
}
.skip {
  position: absolute;
  left: 10px;
  top: 10px;
  background: white;
  color: var(--primary);
  padding: 8px;
  z-index: 20;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
:focus-visible {
  outline: 3px solid #c27b17;
  outline-offset: 3px;
}
@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .top nav {
    display: none;
  }
  .top .small {
    margin-left: auto;
  }
  .hero-copy {
    padding: 30px 20px;
  }
  .hero-photo {
    min-height: 320px;
  }
  .scenes {
    gap: 15px;
  }
  .timeline ol {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .top .wrap {
    min-height: 64px;
    gap: 12px;
  }
  .top .brand-name {
    display: none;
  }
  .logo {
    width: 120px;
    height: auto;
  }
  .brand-name {
    font-size: 0.8rem;
  }
  .top .small {
    padding: 9px 10px;
    font-size: 0.81rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .top .small svg {
    width: 16px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    width: 100%;
    padding: 23px 18px 20px;
  }
  :lang(ja) h1 {
    font-size: clamp(1.65rem, 7.6vw, 2.5rem);
  }
  .hero .over {
    display: none;
  }
  .hero-copy p {
    margin: 10px 0 13px;
    font-size: 1rem;
  }
  .hero-photo {
    height: clamp(154px, 43vw, 235px);
    min-height: 0;
    object-position: 50% 32%;
  }
  .actions {
    gap: 6px 16px;
  }
  .actions .text-link {
    font-size: 0.9rem;
  }
  .choose {
    padding-top: 21px;
  }
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .choice-grid a {
    min-height: 46px;
    padding: 7px 12px;
  }
  .choice-icon {
    width: 30px;
    height: 30px;
  }
  .feature,
  .feature.reverse,
  .family-grid,
  .end {
    grid-template-columns: 1fr;
  }
  .feature {
    gap: 16px;
  }
  .feature .portrait {
    max-height: 185px;
    aspect-ratio: 2.1;
    object-position: 50% 40%;
  }
  .reverse .portrait {
    order: 0;
  }
  .over {
    margin-bottom: 6px;
  }
  .scenes {
    grid-template-columns: 1fr;
  }
  .scenes article {
    display: grid;
    grid-template-columns: minmax(86px, 32%) 1fr;
    gap: 12px;
    align-items: start;
  }
  .scenes img {
    aspect-ratio: 0.92;
  }
  .scenes h3 {
    margin: 0 0 5px;
  }
  .scenes p {
    font-size: 0.95rem;
  }
  .timeline ol {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .timeline li {
    padding: 10px 0 0 39px;
    position: relative;
  }
  .timeline li:before {
    position: absolute;
    left: 0;
    top: 12px;
  }
  .family img {
    max-height: 255px;
    object-fit: cover;
  }
  .sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    padding: 7px 16px max(7px, env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid var(--line);
  }
  .sticky[data-visible] {
    display: block;
  }
  .sticky .btn {
    width: 100%;
    min-height: 45px;
  }
  .foot {
    padding-bottom: 66px;
  }
  html {
    scroll-padding-bottom: 70px;
  }
  .end {
    gap: 16px;
  }
  .pace {
    gap: 6px;
  }
  .pace div {
    padding: 8px;
  }
  .moneybox {
    padding: 8px 12px;
  }
  .moneybox div {
    gap: 8px;
  }
  .moneybox .total span {
    max-width: 58%;
  }
}
.jobs {
  padding-block: clamp(38px, 5vw, 72px) 26px;
  border-bottom: 1px solid var(--line);
}
.jobs .deck {
  margin-top: 12px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px 14px;
}
.job-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.job-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
}
.job-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
  padding: 15px;
}
.job-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}
.job-card p {
  margin: 8px 0 10px;
  line-height: 1.5;
}
.job-card .job-link {
  margin-top: auto;
  background: transparent;
  color: #12685d;
  font-size: 0.9rem;
  min-height: 44px;
  justify-content: flex-start;
  padding: 4px 0;
  gap: 6px;
  text-underline-offset: 0.18em;
  text-decoration: underline;
}
.job-link svg {
  width: 17px;
  height: 17px;
}
.jobs-note {
  color: var(--muted);
  font-size: 0.875rem;
}
@media (max-width: 850px) {
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .jobs-grid {
    gap: 10px;
  }
  .job-info {
    padding: 10px;
  }
  .job-card h3 {
    font-size: 1.04rem;
  }
  .job-card p,
  .job-card .job-link {
    font-size: 0.9rem;
  }
  .job-card img {
    aspect-ratio: 1.05;
  }
}
@media (max-width: 340px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* Japanese line breaking: preserve meaningful heading phrases and kinsoku rules. */
html {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
.phrase {
  display: inline-block;
  max-width: 100%;
}
h1,
h2,
h3,
.btn,
.choice-grid a {
  overflow-wrap: normal;
}
p,
li,
.quote {
  text-wrap: pretty;
}
.hero-copy,
.hero-grid > *,
.content,
.job-info,
.scenes article > div,
.end > * {
  min-width: 0;
}
.btn {
  max-width: 100%;
}
.btn > span {
  min-width: 0;
}
.job-link > span {
  white-space: nowrap;
}
.choice-grid a {
  text-wrap: pretty;
}
.moneybox div > span {
  min-width: 0;
}
@media (min-width: 641px) and (max-width: 1100px) {
  .top .brand-name {
    display: none;
  }
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :lang(ja) h2 {
    font-size: clamp(1.4rem, 6vw, 1.65rem);
  }
  h3 {
    text-wrap: pretty;
  }
  .hero-photo {
    max-height: none;
  }
}

/* Indonesian advertising copy wraps at word boundaries. */
html:lang(id) {
  line-break: auto;
}
:lang(id) h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
:lang(id) .headline-line {
  white-space: normal;
}
:lang(id) h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
:lang(id) .choose h2 {
  font-size: 1.25rem;
}
:lang(id) h3 {
  line-height: 1.3;
}
:lang(id) .job-link > span {
  white-space: normal;
}
:lang(id) .hero-copy p {
  max-width: 46ch;
}
:lang(id) .moneybox div > span {
  flex: 1;
}
:lang(id) .moneybox strong {
  flex-shrink: 0;
}
:lang(id) .pace strong {
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  :lang(id) .hero-grid {
    display: flex;
    flex-direction: column;
  }
  :lang(id) .hero-copy {
    width: 100%;
  }
  :lang(id) h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  :lang(id) .hero-photo {
    height: clamp(180px, 43vw, 360px);
    min-height: 0;
    max-height: none;
    object-position: 50% 32%;
  }
}
@media (max-width: 640px) {
  :lang(id) h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
  }
  :lang(id) .moneybox .total span {
    max-width: none;
  }
}

/* Revised rupiah estimates and multi-year work plan. */
.moneybox strong:has(.idr-amount) {
  text-align: right;
}
.moneybox .idr-amount {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: normal;
}
.content .fx-reference {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.65rem;
}
.remittance-example {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--primary);
}

h2,
h3 {
  color: var(--primary);
}
.end h2 {
  color: #fff;
}
.over,
.choice-icon {
  color: #076e68;
}
.period-icon {
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.work-period {
  padding-block: clamp(32px, 5vw, 62px);
  background: #edf5f4;
  margin-bottom: clamp(38px, 6vw, 72px);
}
.period-lead,
.period-options {
  max-width: 68ch;
  margin-top: 12px;
}
.plan-caption {
  margin-block: 26px 12px;
  font-size: 1.05rem;
}
.year-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
}
.year-plan li {
  border-top: 3px solid var(--accent);
  padding-top: 12px;
}
.year-plan li > b {
  color: var(--primary);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.year-plan h3 {
  font-size: 1.12rem;
  margin-block: 7px;
}
.period-options {
  margin-top: 24px;
}
.work-period .sources {
  display: inline-block;
  padding-block: 8px;
}
.period-action {
  margin-top: 12px;
}
@media (max-width: 640px) {
  .year-plan {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .year-plan li {
    border-top: 0;
    border-left: 3px solid var(--accent);
    padding: 0 0 0 14px;
  }
}
