@layer reset, tokens, base, layout, components, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img { display: block; max-width: 100%; height: auto; }
  button, select { font: inherit; }
  button, a, select, summary { -webkit-tap-highlight-color: transparent; }
  [hidden] { display: none !important; }
}
@layer tokens {
  :root { --red: #ba452c; --red-dark: #9d3520; --ink: #202734; --body: #4c5664; --grey: #f3f4f6; --line: #d8dce1; --white: #fff; --footer: #191919; --measure: 1200px; }
}
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 24px; }
  body { background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
  h1, h2, h3 { font-weight: 700; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
  h1 { font-size: clamp(42px, 4.8vw, 72px); }
  h2 { font-size: clamp(30px, 3vw, 42px); }
  h3 { font-size: 22px; letter-spacing: -.025em; }
  p { color: var(--body); }
  p + p { margin-top: 16px; }
  a { color: inherit; text-underline-offset: 4px; }
  button, select, summary { cursor: pointer; }
  address { font-style: normal; color: var(--body); }
  :focus-visible { outline: 3px solid #17778b; outline-offset: 5px; }
  ::selection { background: var(--red); color: var(--white); }
  .container { width: min(var(--measure), calc(100% - 80px)); margin-inline: auto; }
  .section { padding-block: clamp(60px, 7vw, 100px); }
  .section-heading { margin-bottom: 36px; }
  .section-heading p { max-width: 58ch; margin-top: 16px; }
  .fine { font-size: 14px; line-height: 1.6; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; padding: 12px 20px; background: var(--white); }
  .skip-link:focus { top: 12px; }
}
@layer layout {
  .utility { background: var(--grey); font-size: 13px; }
  .utility .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
  .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 92px; }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
  .brand img { width: 46px; height: 44px; object-fit: contain; }
  .brand strong { display: block; font-size: 21px; letter-spacing: -.03em; line-height: 1.2; }
  .brand small { display: block; font-size: 13px; margin-top: 4px; color: var(--body); }
  #navigation { display: flex; align-items: center; gap: 26px; }
  #navigation > a { text-decoration: none; font-size: 14px; font-weight: 600; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-copy { background: var(--red); color: var(--white); padding: 60px 48px 64px max(40px, calc((100vw - var(--measure)) / 2)); display: grid; align-items: center; }
  .hero-copy > div { max-width: 520px; }
  .hero-copy p { color: var(--white); max-width: 44ch; font-size: 18px; line-height: 1.6; margin-block: 26px 30px; }
  .hero-photo { position: relative; overflow: hidden; min-height: 560px; }
  .hero-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 64% center; }
  .hero-photo > span { position: absolute; bottom: 24px; left: 28px; right: 28px; background: var(--white); color: var(--ink); padding: 12px 16px; font-size: 14px; width: fit-content; }
  .services-grid, .included-grid, .reviews-grid, .outlets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .service-card { container-type: inline-size; }
  .service-image { display: block; overflow: hidden; margin-bottom: 22px; }
  .service-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
  .service-card p { margin-block: 14px 20px; }
  .purchase-feature { text-align: center; padding-top: 30px; }
  .purchase-feature > p { margin: 18px auto 0; max-width: 56ch; }
  .purchase-feature > .button { margin-top: 28px; }
  .purchase-feature > .fine { margin-top: 16px; }
  .feature-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; background: var(--grey); }
  .feature-band > img { width: 100%; height: 100%; max-height: 450px; object-fit: cover; }
  .band-copy { padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .band-copy h2 { font-size: clamp(28px, 2.6vw, 38px); }
  .band-copy p { max-width: 48ch; margin-block: 22px 26px; }
  .feature-band-reverse > img { order: 2; }
  .masters-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .master { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; }
  .master > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--grey); }
  .master p { margin-top: 18px; font-size: 16px; }
  .master .master-role { color: var(--red-dark); font-weight: 700; font-size: 14px; }
  .master ul { padding-left: 18px; font-size: 14px; color: var(--body); margin-block: 18px 24px; }
  .master li + li { margin-top: 10px; }
  .master-actions { display: flex; flex-direction: column; align-items: start; gap: 18px; }
  .master-actions .button { font-size: 14px; padding: 12px 14px; }
  .included, .reviews, .contact, .outlets { background: var(--grey); }
  .included-grid h3 { margin-bottom: 16px; }
  .included-grid p, .reviews-grid p { font-size: 16px; }
  .price-heading { display: flex; justify-content: space-between; align-items: start; gap: 40px; margin-bottom: 40px; }
  .price-heading > div > p { margin-top: 18px; max-width: 50ch; }
  .starting-price { flex-shrink: 0; }
  .starting-price strong { font-size: 32px; color: var(--red); }
  .starting-price span { display: block; margin-top: 4px; font-size: 14px; }
  .quote-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
  .quote-intro img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
  .quote-intro p { margin-top: 16px; }
  .quote-box { padding: 36px; border: 1px solid var(--line); }
  .quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field-wide { grid-column: 1 / -1; }
  .quote-box > .fine { margin-top: 14px; }
  .quote-result { margin-block: 28px; }
  .reviews-grid article { border-top: 3px solid var(--red); padding-top: 22px; }
  .reviews-grid p { margin-block: 18px 24px; }
  .reviews-grid a { font-size: 14px; font-weight: 600; }
  .process > h2 { margin-bottom: 36px; }
  .process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-left: 20px; }
  .process li { padding-left: 4px; }
  .process h3 { font-size: 19px; margin-bottom: 14px; }
  .process li::marker { color: var(--red); font-weight: 700; }
  .process p { font-size: 15px; }
  .contact-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
  .contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 36px; background: var(--white); margin-bottom: 24px; }
  .contact-panel h3 { font-size: 28px; }
  .contact-panel p { margin-top: 16px; }
  .contact-panel .button { margin-top: 22px; }
  #free-review .button, #pre-purchase .button { margin-top: 0; }
  .contact-phone { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 15px; margin-top: 26px; }
  .contact-phone span { margin-left: auto; }
  .faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 72px; }
  .faq > div > p { margin-top: 20px; }
  .outlets h2 { margin-bottom: 40px; }
  .outlets h3 { margin-bottom: 20px; }
  .outlets article p { margin-top: 16px; font-size: 15px; }
  .outlets article > .text-link { display: inline-block; margin-top: 20px; }
  .footer { background: var(--footer); color: var(--white); padding-block: 64px 30px; }
  .footer-brand { display: inline-block; font-size: 24px; font-weight: 700; text-decoration: none; }
  .footer-brand span { display: block; font-size: 14px; font-weight: 400; margin-top: 2px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-top: 40px; }
  .footer h2 { font-size: 24px; max-width: 20ch; }
  .footer p { color: #c9cbd0; font-size: 14px; }
  .footer-grid p { margin-top: 18px; max-width: 40ch; }
  .footer nav { display: flex; flex-direction: column; align-items: start; gap: 12px; }
  .footer nav a { font-size: 14px; text-decoration: none; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 32px; margin-top: 50px; border-top: 1px solid #494949; }
  .footer-bottom p { font-size: 13px; max-width: 58ch; margin-top: 0; }
}
@layer components {
  .button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 13px 22px; background: var(--red); color: var(--white); border: 1px solid var(--red); border-radius: 3px; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .2s ease, border-color .2s ease; }
  .button:hover { background: var(--red-dark); border-color: var(--red-dark); }
  .button-white { background: var(--white); color: var(--ink); border-color: var(--white); }
  .button-white:hover { background: var(--grey); color: var(--ink); border-color: var(--grey); }
  .button-small { min-height: 42px; padding: 10px 16px; }
  .hero-link { display: block; width: fit-content; font-size: 14px; margin-top: 20px; }
  .text-link { color: var(--red-dark); font-size: 15px; font-weight: 600; text-decoration: none; }
  .text-link:hover { text-decoration: underline; }
  .text-link span[aria-hidden] { margin-left: 4px; }
  .offer-price { display: flex; justify-content: center; align-items: baseline; gap: 16px; }
  .offer-price del { color: var(--body); font-size: 20px; }
  .offer-price strong { color: var(--red); font-size: 34px; }
  label { display: block; font-size: 14px; font-weight: 600; }
  select { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid #929ba5; border-radius: 2px; background: var(--white); padding: 10px 32px 10px 12px; color: var(--ink); font-size: 15px; }
  .quote-selection { font-weight: 600; color: var(--ink); }
  .quote-original { margin-top: 18px; font-size: 16px; }
  .quote-price { color: var(--red); font-size: clamp(38px, 4vw, 54px); line-height: 1.2; font-weight: 700; margin-top: 8px; font-variant-numeric: tabular-nums; }
  .quote-price small { display: block; font-size: 14px; font-weight: 400; margin-top: 8px; color: var(--body); }
  #quote-tax { margin-top: 16px; font-size: 15px; }
  .quote-total { display: block; margin-top: 8px; color: var(--ink); font-size: 19px; font-weight: 700; }
  .full-price-list { border-block: 1px solid var(--line); margin-top: 40px; }
  summary { padding: 22px 32px 22px 0; font-weight: 600; position: relative; list-style: none; line-height: 1.5; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; position: absolute; right: 2px; top: 20px; font-size: 22px; color: var(--red); font-weight: 400; }
  details[open] > summary::after { content: '−'; }
  details:has(> summary:hover) { background: #fafafa; }
  .full-price-list > p { margin-bottom: 24px; font-size: 14px; max-width: 80ch; }
  .table-scroll { overflow: auto; margin-bottom: 24px; }
  table { width: 100%; border-collapse: collapse; font-size: 14px; }
  caption { text-align: left; margin-bottom: 12px; color: var(--body); }
  th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
  thead { background: var(--grey); }
  tbody th { font-weight: 400; }
  td { min-width: 170px; }
  td del { color: var(--body); margin-right: 10px; }
  ins { text-decoration: none; font-weight: 600; }
  .contact-tabs a { padding: 12px 22px; text-decoration: none; color: var(--red-dark); border: 1px solid var(--red); border-radius: 3px; font-weight: 600; }
  .contact-tabs a[aria-current] { color: var(--white); background: var(--red); }
  .contact-offer strong { display: block; font-size: 34px; color: var(--red); line-height: 1.3; margin-block: 6px; }
  .contact-offer span { display: block; font-size: 14px; }
  .booking-summary { margin-top: 24px; padding: 24px; background: var(--grey); }
  .booking-summary > p:first-child { margin-top: 0; font-size: 14px; }
  .booking-summary > strong { display: block; margin-block: 10px; }
  .booking-summary > a { display: inline-block; margin-top: 18px; font-size: 14px; }
  .contact-panel .deposit-title { margin-top: 0; font-weight: 600; color: var(--ink); }
  .contact-panel .deposit-price { font-size: 52px; line-height: 1.1; font-weight: 700; color: var(--red); margin-top: 10px; }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list details:first-child { border-top: 1px solid var(--line); }
  .faq-list details p { padding: 0 28px 24px 0; font-size: 15px; max-width: 70ch; }
  .menu-toggle { background: var(--white); border: 1px solid var(--line); padding: 10px 14px; border-radius: 3px; color: var(--ink); }
  .floating-contact { position: fixed; bottom: 22px; right: 22px; z-index: 10; border-radius: 3px; padding: 12px 22px; font-size: 14px; font-weight: 600; background: var(--red); color: var(--white); text-decoration: none;  transition: opacity .2s ease; }
  .floating-contact.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
  @container (max-width: 300px) { .service-card h3 { font-size: 20px; } }
}
@layer layout {
  @media (min-width: 1024px) { .menu-toggle { display: none; } }
  @media (max-width: 1100px) {
    #navigation { gap: 18px; }
    #navigation > a { font-size: 13px; }
    .masters-grid { grid-template-columns: 1fr; gap: 40px; }
    .master { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
    .master-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .quote-layout { gap: 32px; }
    .quote-box { padding: 28px; }
    .contact-panel { gap: 32px; }
  }
  @media (max-width: 1023px) {
    .container { width: calc(100% - 48px); }
    .header-inner { flex-wrap: wrap; padding-block: 16px; gap: 18px; min-height: 84px; }
    #navigation { flex-basis: 100%; flex-wrap: wrap; padding-top: 6px; }
    .js #navigation { display: none; }
    .js #navigation.is-open { display: flex; }
    .hero-copy { padding: 40px 30px 44px 24px; }
    .hero-photo { min-height: 520px; }
    .hero h1 { font-size: clamp(42px, 5.5vw, 64px); }
    .hero-copy p { font-size: 16px; }
    .services-grid, .included-grid, .reviews-grid, .outlets-grid { gap: 24px; }
    .band-copy { padding: 36px 28px; }
    .feature-band { min-height: 350px; }
    .quote-layout { grid-template-columns: .75fr 1.25fr; }
    .quote-fields { grid-template-columns: 1fr; }
    .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
    .faq { gap: 36px; grid-template-columns: .7fr 1.3fr; }
    .footer-grid { gap: 32px; }
  }
  @media (max-width: 767px) {
    .container { width: calc(100% - 40px); }
    .utility { font-size: 13px; }
    .header-inner { gap: 14px; }
    .brand img { width: 40px; height: 38px; }
    .brand strong { font-size: 19px; }
    .brand small { font-size: 13px; }
    .menu-toggle { font-size: 13px; padding: 8px 10px; }
    #navigation { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0; }
    #navigation > a { padding-block: 12px; font-size: 15px; }
    #navigation > .button { margin-top: 8px; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { padding: 42px 20px; }
    .hero h1 { font-size: clamp(40px, 8.5vw, 60px); max-width: 14ch; }
    .hero-copy p { max-width: 44ch; margin-block: 22px 26px; }
    .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
    .hero-photo img { object-position: 62% center; }
    .hero-photo > span { bottom: 14px; left: 20px; right: 20px; font-size: 13px; }
    .hero-link { margin-top: 18px; }
    .services-grid, .included-grid, .reviews-grid, .outlets-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-image img { aspect-ratio: 16 / 9; }
    .service-card p { max-width: 55ch; }
    .purchase-feature { padding-top: 0; }
    .feature-band { grid-template-columns: 1fr; }
    .feature-band > img { max-height: none; aspect-ratio: 16 / 10; }
    .feature-band-reverse > img { order: 0; }
    .band-copy { padding: 36px 20px 42px; }
    .master { grid-template-columns: 1fr; gap: 24px; }
    .master > img { width: min(66%, 240px); }
    .master-actions { flex-direction: column; align-items: start; }
    .master p { max-width: 60ch; }
    .price-heading { flex-direction: column; gap: 24px; }
    .quote-layout { grid-template-columns: 1fr; }
    .quote-intro { display: none; }
    .quote-box { padding: 24px 20px; }
    .starting-price strong { font-size: 28px; }
    .process ol { grid-template-columns: 1fr; gap: 24px; }
    .process h3 { margin-bottom: 8px; }
    .contact-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .contact-tabs a { padding: 12px 3px; text-align: center; font-size: 13px; white-space: nowrap; }
    .contact-panel { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px; }
    .contact-panel h3 { font-size: 26px; }
    .contact-panel .button { width: 100%; }
    .contact-phone { display: block; }
    .contact-phone span { display: block; margin: 10px 0 0; }
    .faq { grid-template-columns: 1fr; }
    .footer { padding-top: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-grid > div { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 16px; }
    .floating-contact { bottom: 16px; right: 16px; }
  }
  @media (max-width: 359px) {
    .brand { gap: 8px; }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 13px; }
    .brand img { width: 34px; height: 34px; }
    .hero-copy .button { width: 100%; }
    .contact-tabs a { font-size: 13px; }
    .offer-price { gap: 12px; }
    .offer-price strong { font-size: 30px; }
  }
}
@layer motion {
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .hero-copy > div { animation: arrive .6s ease both; }
  .in-view { animation: arrive .5s ease both; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}

@layer components {
  .brand-credentials { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; line-height: 1.5; }
  .brand-credentials > span { display: block; }
  .footer-brand small { display: block; font-size: 14px; font-weight: 400; margin-top: 4px; }
  .footer-brand .brand-credentials { margin-top: 8px; color: #c9cbd0; }
  .footer-brand .brand-credentials > span { font-size: 14px; margin-top: 0; }
  @media (max-width: 767px) {
    .header-inner > .brand { max-width: calc(100% - 70px); }
    .brand > span { min-width: 0; }
    .brand-credentials { font-size: 11px; }
  }
}

@layer components {
  .header .brand strong { line-height: 1.15; }
  .header .brand small { margin-top: 2px; line-height: 1.3; }
  .header .brand-credentials { margin-top: 3px; line-height: 1.3; }
}

@layer components {
  .header .brand img { width: 48px; height: 48px; object-fit: contain; }
  .footer-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
  .footer-logos { display: flex; gap: 20px; align-items: start; }
  .footer-logos figure { width: 100px; text-align: center; }
  .footer-logos img { width: 76px; height: 76px; object-fit: contain; background: white; padding: 6px; margin-inline: auto; border-radius: 4px; }
  .footer-logos figcaption { font-size: 13px; line-height: 1.5; margin-top: 10px; }
  @media (max-width: 767px) {
    .header .brand img { width: 40px; height: 40px; }
    .footer-identity { align-items: start; gap: 24px; }
  }
  @media (max-width: 359px) { .header .brand img { width: 32px; height: 32px; } }
}

@layer components {
  .header .brand img { flex-shrink: 0; }
  .utility a { flex-shrink: 0; white-space: nowrap; }
  @media (max-width: 767px) {
    .header-inner > .brand { max-width: calc(100% - 78px); }
  }
}



@layer components {
  @media (max-width: 767px) {
    html[lang="en-SG"] #masters-title { font-size: 28px; }
  }
}

@layer components {
  @media (min-width: 1101px) {
    .masters-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
    .master { grid-template-columns: 1fr; grid-template-rows: 225px auto; align-content: start; gap: 24px; }
    .master > img { width: 180px; height: 225px; }
    .master-actions { gap: 16px; }
  }
}
