:root {
  --bg: #fcfcfc;
  --cream: #f4f1ea;
  --line: #e7e2d6;
  --input: #cfc9bc;
  --gold: #d4af37;
  --gold-ink: #8c6d1f;
  --ink: #1a1a1a;
  --text: #4a4a4a;
  --muted: #6b6b6b;
  --gutter: clamp(16px, 3.1vw, 47px);
  --max: 1418px;
  --sans: "Arimo", Arial, sans-serif;
  --serif: "Merriweather", Georgia, serif;
  --gelasio: "Gelasio", Georgia, serif;
  --maitree: "Maitree", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

/* Shared */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold-ink); letter-spacing: 1.8px; }
.eyebrow--muted { color: var(--muted); }
.link-arrow { color: var(--gold-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
a.link-arrow:hover { text-decoration: underline; }
.dot { flex: none; width: 8px; height: 8px; background: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.2; padding: 17px 28px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; text-align: center; }
.btn--lg { font-size: 18px; padding: 18px 30px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #c49f2a; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.nav__logo img { width: 247px; height: 56px; object-fit: contain; }
.nav__menu { display: flex; align-items: center; gap: 40px; }
.nav__link { position: relative; font-size: 17px; text-decoration: none; color: var(--ink); padding: 4px 0 8px; }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 24px; height: 2px; margin-left: -12px; background: transparent; }
.nav__link:hover { color: var(--gold-ink); }
.nav__link.is-active { color: var(--gold-ink); }
.nav__link.is-active::after { background: var(--gold); }
.nav__cta { padding: 14px 26px; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: var(--cream); display: grid; grid-template-columns: minmax(0, 834fr) minmax(0, 520fr); gap: 64px; padding: 56px var(--gutter) 80px; }
.hero__content { padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { font-size: 14px; letter-spacing: 1.6px; }
.hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 4.2vw, 63px); line-height: 1.2; letter-spacing: .04em; margin-top: 16px; }
.hero__sub { font-family: var(--maitree); font-size: 22px; line-height: 34px; letter-spacing: .3px; color: var(--text); max-width: 600px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.hero .btn-row { margin-top: 40px; }

/* Form */
.form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 20px; align-self: start; scroll-margin-top: 104px; }
.form__title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 40px; }
.form__desc { color: var(--muted); font-size: 17px; line-height: 27px; margin-top: -10px; }
.form__done { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 4px; padding: 16px 20px; }
.form__done .form__title { font-size: 22px; line-height: 32px; }
.form__done .form__desc { margin-top: 4px; }
.form__note { color: var(--muted); font-size: 15px; line-height: 24px; }
.form__note a { color: var(--gold-ink); text-decoration: none; }
.form__note a:hover { text-decoration: underline; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-weight: 700; font-size: 15px; padding: 0; }
.input { width: 100%; height: 56px; border: 1px solid var(--input); border-radius: 4px; background: #fff; padding: 0 16px; font: 17px var(--sans); color: var(--ink); }
.input:focus { border-color: var(--gold-ink); outline: none; box-shadow: 0 0 0 3px rgba(212, 175, 55, .25); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid { color: var(--muted); }
.select::after { content: ""; position: absolute; right: 17px; top: 21px; width: 14px; height: 14px; background: url(/img/chevron.svg) no-repeat center / contain; pointer-events: none; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid var(--input); border-radius: 4px; background: #fff; font-size: 16px; text-align: center; padding: 0 6px; cursor: pointer; line-height: 1.2; }
.choice input:checked + span { border-color: var(--gold-ink); background: #fbf6e6; box-shadow: inset 0 0 0 1px var(--gold-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* Intro & services */
.intro { padding: 122px var(--gutter) 104px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro__h { font-family: var(--gelasio); font-weight: 700; font-size: clamp(28px, 2.8vw, 42px); color: #444; }
.intro__rule { width: 100%; max-width: 1262px; border: 0; height: 2px; background: #f4f4f4; margin: 22px 0 27px; }
.intro__text { font-family: var(--maitree); font-weight: 600; font-size: 18px; line-height: 29px; color: #666; max-width: 1220px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 460px)); justify-content: center; gap: 26.5px; text-align: left; }
.services--home { margin-top: 72px; width: 100%; }
.service { background: var(--cream); border-radius: 8px; padding: 34px; min-height: 347px; display: flex; flex-direction: column; }
.service__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 38px; padding: 10px 0 16px; }
.service__desc { font-size: 17px; line-height: 27px; letter-spacing: .25px; color: var(--text); }
.service__link { margin-top: auto; padding-top: 20px; font-size: 17px; }

/* Activity */
.activity { background: #f6f6f6; border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; padding: 78px 46px 72px 40px; }
.activity__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 34px; }
.activity__h { font-family: var(--gelasio); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); color: #444; }
.carousel-ctrl { display: flex; gap: 3px; padding-top: 6px; }
.carousel-btn { width: 24px; height: 24px; background: #333; border: 0; display: grid; place-items: center; cursor: pointer; padding: 0; }
.carousel-btn:hover { background: var(--gold-ink); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 322px; gap: 19.33px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel img { width: 322px; height: 217px; object-fit: cover; scroll-snap-align: start; }
.spacer-46 { height: 46px; }

/* Page heading */
.page-head { background: var(--cream); padding: 72px var(--gutter) 80px; display: flex; flex-direction: column; gap: 16px; }
.crumb { font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--gold-ink); }
.crumb__sep { margin: 0 .55em; color: var(--gold-ink); }
.crumb__here { color: var(--gold-ink); }
.page-head__title { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 3.7vw, 56px); line-height: 1.21; }
.page-head__intro { font-size: 20px; line-height: 32px; color: var(--text); max-width: 860px; }

.section { padding: 96px var(--gutter) 104px; }

/* Team */
.section--team { padding-left: clamp(16px, 3.6vw, 54px); padding-right: clamp(16px, 3.6vw, 54px); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; max-width: 1404px; margin: 0 auto; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 32px rgba(26, 26, 26, .08); transform: translateY(-2px); }
.card__photo { width: 100%; aspect-ratio: 446 / 560; object-fit: cover; object-position: top; border-bottom: 3px solid var(--gold); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 28px 32px; }
.card__name { font-family: var(--gelasio); font-weight: 400; font-size: 28px; line-height: 36px; padding: 10px 0 16px; }
.card__summary { font-size: 16px; line-height: 26px; color: #5c5c5c; margin-bottom: 28px; }
.card__foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }
.card:hover .card__foot { text-decoration: underline; }

/* Profile */
.profile-head { background: var(--cream); display: flex; align-items: center; gap: 72px; padding: 56px var(--gutter) 64px; }
.profile-head__photo { flex: none; width: 316px; height: 394px; object-fit: cover; object-position: top; border-radius: 8px; }
.profile-head__id { flex: 1; min-width: 0; }
.profile-head__id .crumb { font-size: 13px; }
.profile-head__role { font-size: 14px; margin-top: 40px; }
.profile-head__name { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 3.45vw, 52px); line-height: 1.23; margin-top: 12px; }
.profile-head__summary { font-size: 20px; line-height: 32px; color: var(--text); margin-top: 20px; }
.profile-head .btn-row { margin-top: 36px; gap: 16px; }

.profile { display: grid; grid-template-columns: minmax(0, 840fr) minmax(0, 506fr); gap: 72px; padding: 88px var(--gutter) 96px; align-items: start; }
.profile__main { display: flex; flex-direction: column; gap: 56px; }
.block__h { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 40px; margin-bottom: 20px; }
.block__p { font-size: 18px; line-height: 30px; color: var(--text); }
.rows { border-bottom: 1px solid var(--line); }
.row { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--line); padding: 16px 0; }
.row .dot { margin-top: 10px; }
.row__title { font-weight: 700; font-size: 18px; line-height: 28px; }
.row__sub { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 4px; }
.row__text { font-size: 17px; line-height: 28px; color: var(--text); }

.profile__side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 112px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.side-card img { width: 240px; height: 59px; object-fit: contain; }
.side-card__text { font-size: 16px; line-height: 26px; color: var(--text); }
.side-card--cta { background: var(--cream); border-color: transparent; }
.side-card__h { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 32px; }
.side-card__contact { font-size: 14px; color: var(--muted); }
.side-card__contact a { color: inherit; text-decoration: none; }
.areas { display: flex; flex-direction: column; gap: 14px; }
.areas li { display: flex; align-items: center; gap: 10px; font-size: 18px; }

.others { background: var(--cream); padding: 72px var(--gutter) 80px; }
.others .block__h { margin-bottom: 32px; }
.others__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 30px; }
.mini { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding-right: 28px; text-decoration: none; transition: box-shadow .2s; }
.mini:hover { box-shadow: 0 12px 32px rgba(26, 26, 26, .08); }
.mini:hover .link-arrow { text-decoration: underline; }
.mini__photo { flex: none; width: 140px; height: 175px; object-fit: cover; object-position: top; }
.mini__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mini__name { font-family: var(--serif); font-size: 24px; line-height: 32px; }

/* Footer */
.footer { background: #000; border-top: 1px solid #3f3f3f; color: #fff; padding: 70px 0 48px; }
.footer__cols { display: grid; grid-template-columns: 435fr 409fr 406fr; gap: 78px; padding: 0 clamp(16px, 4.4vw, 67px); max-width: 1512px; margin: 0 auto; }
.footer__map img { width: 100%; aspect-ratio: 435 / 398; object-fit: cover; }
.footer__col { padding-top: 5px; }
.footer__h { font-family: var(--gelasio); font-weight: 700; font-size: clamp(28px, 2.25vw, 34px); }
.footer__building { width: 190px; height: 249px; object-fit: cover; margin: 20px 0 46px; }
.footer__text { font-size: 20px; line-height: 30px; }
.footer__text + .footer__text { margin-top: 30px; }
.footer__hours { padding: 29px 0 47px; line-height: 31px; }
.footer__social { display: flex; gap: 5px; }
.social { width: 53px; height: 53px; border-radius: 50%; display: grid; place-items: center; }
.social--wa { background: #25d366; }
.social--in { background: #0177b4; }
a.social:hover { filter: brightness(1.1); }
.footer__label { color: #9e9e9e; font-size: 14px; letter-spacing: 1.2px; margin: 44px 0 12px; }
.footer__peradi { width: 240px; height: 59px; object-fit: contain; }
.footer__credit { text-align: center; color: #959595; font-size: 15px; margin-top: 56px; padding: 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .profile { gap: 48px; }
  .footer__cols { gap: 40px; }
  .nav__menu { gap: 28px; }
}

@media (max-width: 960px) {
  .nav { height: 72px; }
  .nav__logo img { width: 200px; height: 45px; }
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(0, 0, 0, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__link::after { left: 0; margin-left: 0; bottom: -1px; }
  .nav__cta { margin-top: 20px; padding: 16px; }
  .form { scroll-margin-top: 88px; }
  .profile__side { top: 96px; }

  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
  .hero__content { padding-top: 0; }

  .profile-head { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .profile-head__photo { width: min(316px, 70vw); height: auto; aspect-ratio: 316 / 394; }
  .profile-head__role { margin-top: 24px; }
  .profile { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .profile__side { position: static; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__sub { font-size: 19px; line-height: 30px; margin-top: 20px; }
  .hero .btn-row { margin-top: 32px; width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .trust { flex-direction: column; gap: 10px; margin-top: 24px; }
  .trust li { font-size: 16px; }
  .form { padding: 24px 20px; gap: 18px; }
  .form__title { font-size: 26px; line-height: 34px; }
  .choices { grid-template-columns: 1fr; }
  .choice span { height: 52px; }

  .intro { padding-top: 72px; padding-bottom: 72px; }
  .intro__text { font-size: 16px; line-height: 27px; }
  .services--home { margin-top: 48px; }
  .service { min-height: 0; padding: 28px 24px; }
  .service__title { font-size: 24px; line-height: 32px; }
  .service__desc { font-size: 16px; line-height: 26px; }

  .activity { padding: 56px 0 56px var(--gutter); }
  .activity__head { padding-right: var(--gutter); margin-bottom: 24px; }
  .carousel { grid-auto-columns: 78%; gap: 12px; padding-right: var(--gutter); scroll-padding-left: 0; }
  .carousel img { width: 100%; height: auto; aspect-ratio: 322 / 217; }

  .page-head { padding-top: 48px; padding-bottom: 56px; }
  .crumb { font-size: 12px; letter-spacing: 1.2px; }
  .page-head__intro { font-size: 17px; line-height: 28px; }
  .section { padding-top: 56px; padding-bottom: 64px; }
  .team { grid-template-columns: 1fr; gap: 24px; }
  .card__body { padding: 24px; }
  .card__name { font-size: 25px; line-height: 32px; }

  .profile-head__summary { font-size: 17px; line-height: 28px; }
  .block__h { font-size: 26px; line-height: 34px; }
  .block__p { font-size: 16px; line-height: 27px; }
  .row__title { font-size: 17px; line-height: 26px; }
  .row__text { font-size: 16px; line-height: 26px; }
  .side-card { padding: 24px; }
  .others { padding-top: 56px; padding-bottom: 64px; }
  .mini { gap: 16px; padding-right: 16px; }
  .mini__photo { width: 104px; height: 130px; }
  .mini__name { font-size: 19px; line-height: 26px; }

  .footer { padding-top: 56px; }
  .footer__cols { grid-template-columns: 1fr; gap: 48px; }
  .footer__text { font-size: 17px; line-height: 27px; }
  .footer__text + .footer__text { margin-top: 20px; }
  .footer__building { margin: 20px 0 28px; }
  .footer__hours { padding: 20px 0 28px; }
  .footer__label { margin-top: 32px; }
  .footer__credit { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
