@import url('./brand_tokens.css');

/* Shared type, rhythm and interaction. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.company_site { max-width: 1800px; margin-inline: auto; }
figure, p, h1, h2, h3 { margin: 0; }
figure, article, section { min-width: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, h2 { letter-spacing: var(--tracking-heading); }
h2 { font-size: clamp(36px, 3.6vw, 56px); line-height: 1.12; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; max-width: 100%; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.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; z-index: 30; top: 12px; left: 12px; padding: 12px 18px; border-radius: var(--radius-input); background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip_link:focus { transform: none; }
.section { padding: var(--section-space) var(--page-pad); }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.icon { display: block; flex: 0 0 auto; width: 16px; height: 16px; pointer-events: none; }

/* The same navigation and language position across all five pages. */
.site_header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-height); padding: 12px var(--page-pad); border-bottom: 1px solid var(--line); background: var(--paper); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 29px; font-weight: 500; letter-spacing: -1.4px; line-height: 1; }
.header_navigation { display: flex; align-items: center; gap: 28px; }
.desktop_nav { display: flex; align-items: center; gap: 26px; font-size: 13px; line-height: 1.5; }
.desktop_nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--muted); transition: color .2s ease; }
.desktop_nav a:hover, .desktop_nav a[aria-current] { color: var(--ink); }
.desktop_nav a::after { position: absolute; content: ''; bottom: 5px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop_nav a:hover::after, .desktop_nav a[aria-current]::after { transform: scaleX(1); }
.mobile_menu { display: none; }

/* Approved material composition. */
.material_hero { padding: 56px var(--page-pad) var(--space-16); }
.hero_copy { max-width: 920px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(56px, 5.4vw, 82px); line-height: 1.08; letter-spacing: var(--tracking-display); }
.hero_intro { max-width: 520px; margin: 24px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.material_hero .hero_actions { justify-content: center; margin-top: 26px; margin-inline: auto; }
.material_pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 48px; }
.material_image { height: clamp(310px, 29vw, 480px); overflow: hidden; border-radius: var(--radius-image); background: var(--brand-soft); }
.material_pair .business:first-child img { object-position: center 47%; }
.material_pair .business:last-child img { object-position: center 30%; }
.material_pair .business_copy { padding-top: 20px; }
.material_pair .business_title { font-size: 26px; }
.material_pair .business p { max-width: 420px; font-size: 14px; }

/* Product cards and company story. */
.business_grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin-top: 44px; }
.business { display: flex; flex-direction: column; scroll-margin-top: 112px; }
.business_image { display: block; height: clamp(350px, 31vw, 510px); overflow: hidden; border-radius: var(--radius-image); background: var(--brand-soft); }
.business:first-child .business_image img { object-position: center 38%; }
.business:last-child .business_image img { object-position: center 48%; }
.business_link { display: flex; flex: 1; flex-direction: column; border-radius: var(--radius-image); }
.business_link:focus-visible { outline-offset: 8px; }
.business_copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 24px; }
.business_title { font-size: 30px; letter-spacing: var(--tracking-heading); line-height: 1.25; }
.business_link:hover .business_title { color: var(--accent); }
.business p { max-width: 450px; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.business_copy > p:last-of-type { margin-bottom: 18px; }
.business .text_link { margin-top: auto; }
.company_story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); }
.company_copy > .eyebrow { margin-bottom: 24px; }
.company_copy h2 { font-size: clamp(36px, 3.4vw, 52px); }
.company_summary { max-width: 490px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.company_links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; }
.story_copy > .text_link { margin-top: 24px; }
.craft_image { position: relative; height: 470px; overflow: hidden; border-radius: var(--radius-image); background: var(--brand-soft); }
.craft_image figcaption { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 8px 13px; border-radius: 4px; background: var(--paper); font-size: 11px; line-height: 1.5; }

/* One clear next step, then the company identity. */
.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: 64px; border-top: 1px solid var(--line); }
.contact h2 { max-width: 690px; font-size: clamp(36px, 3.2vw, 48px); }
.contact .contact_link { font-size: 15px; }
.site_footer { padding: 48px var(--page-pad) 24px; border-top: 1px solid var(--line); }
.footer_main { display: grid; grid-template-columns: 1.4fr .8fr 1fr; align-items: start; gap: 48px; }
.footer_wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 25px; font-weight: 500; letter-spacing: -1.3px; color: var(--ink); }
.footer_brand > p { max-width: 260px; margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.footer_heading { display: flex; align-items: center; min-height: 44px; margin-bottom: 13px; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.footer_navigation > a { display: flex; align-items: center; width: fit-content; min-height: 44px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer_navigation > a:hover, .footer_navigation > a[aria-current] { color: var(--ink); }
.footer_contact { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; gap: var(--space-1); min-width: 0; }
.footer_email { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; text-decoration-line: underline; text-decoration-color: var(--line); text-underline-offset: 5px; overflow-wrap: anywhere; }
.footer_email:hover { text-decoration-color: currentColor; }
.footer_contact .text_link { width: fit-content; color: var(--muted); }
.footer_contact .text_link:hover { color: var(--ink); }
.footer_identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.85; }
.entity_names { text-align: right; }
.entity_names span { display: block; }

/* Inner pages use the same reading width and baseline rhythm. */
.page_heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 72px; padding-block: 76px 64px; text-align: left; }
.page_heading > .eyebrow { grid-column: 1/-1; color: var(--muted); }
.page_heading .page_title { margin: 0; font-size: clamp(46px, 4.5vw, 68px); }
.page_heading .page_intro { align-self: end; justify-self: end; max-width: 440px; margin: 0; font-size: 16px; }
.page_title { max-width: 1080px; margin-inline: auto; font-size: clamp(48px, 5.3vw, 80px); line-height: 1.12; letter-spacing: var(--tracking-display); }
.page_intro { max-width: 650px; margin: 26px auto 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.story_section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-top: 16px; }
.story_image { height: 520px; overflow: hidden; border-radius: var(--radius-image); background: var(--brand-soft); }
.story_copy h2 { font-size: 48px; }
.story_copy > p { max-width: 460px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.principles, .principle_grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; }
.principles { padding-top: 16px; }
.principles article, .principle_grid article { padding-top: 24px; border-top: 1px solid var(--line); }
.principles h2, .principle_grid h3 { font-size: 25px; line-height: 1.3; letter-spacing: var(--tracking-heading); }
.principles p, .principle_grid p { max-width: 350px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.business_detail { padding-top: 0; }
.business_detail .business_grid { gap: 40px; margin-top: 0; }
.business_detail .business_image { height: clamp(390px, 39vw, 620px); }
.business_actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.business_actions .button { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.business_note { max-width: 720px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.85; }
.partner_location { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.partner_location > p { margin-top: 10px; font-size: 15px; }
.supply_stages { padding-block: 72px; background: var(--brand-soft); }
.supply_stages > h2 { margin-top: 24px; }
.principle_grid { margin-top: 44px; }
.delivery_section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.delivery_section h2 { font-size: 44px; }
.delivery_section > p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.9; }

/* Inquiry fields, feedback and a compact receipt state. */
.contact_page { padding-top: 72px; }
.contact_intro { max-width: 850px; margin-inline: auto; text-align: center; }
.contact_intro > .eyebrow { margin-bottom: 24px; color: var(--muted); }
.contact_layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,5.5vw,80px); align-items: start; margin-top: 58px; }
.contact_details { padding-top: 24px; }
.contact_details h2 { font-size: 33px; line-height: 1.25; }
.contact_details > p { max-width: 365px; margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.contact_facts { margin: 30px 0 0; overflow-wrap: anywhere; }
.contact_facts > div { padding: 17px 0; border-top: 1px solid var(--line); }
.contact_facts dt { margin-bottom: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact_facts dd { margin: 0; font-size: 15px; line-height: 1.85; }
.contact_facts a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration-line: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.contact_facts a:hover { text-decoration-color: currentColor; }
.contact_facts .entity_names { text-align: left; }
.inquiry_panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-image); background: var(--brand-white); }
.inquiry_panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.inquiry_panel legend { margin-bottom: 14px; padding: 0; font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: var(--tracking-heading); }
.form_note { margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.field_grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.form_field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 500; line-height: 1.6; }
.form_field input, .form_field select, .form_field textarea { display: block; width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-input); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; transition: border-color .2s ease, background .2s ease; }
.form_field input:hover, .form_field select:hover, .form_field textarea:hover { border-color: var(--muted); }
.form_field input:focus, .form_field select:focus, .form_field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; background: var(--brand-white); }
.form_field select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 19px top 23px, right 14px top 23px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.form_field textarea { min-height: 180px; resize: vertical; line-height: 1.75; }
.form_field [aria-invalid=true] { border-color: var(--brand-error); }
.form_field input:disabled, .form_field textarea:disabled, .form_field select:disabled { opacity: .65; }
.message_field { margin-top: 25px; }
.field_hint { margin: 8px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.data_use_note { margin-top: 18px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.field_error { display: block; margin-top: 7px; color: var(--brand-error); font-size: 12px; line-height: 1.7; }
.field_error:empty, .form_status:empty { display: none; }
.form_actions { margin-top: 26px; }
.form_status, .form_errors { margin-bottom: 25px; padding: 16px 18px; border-radius: var(--radius-input); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.form_status { color: var(--brand-success); background: var(--brand-success-soft); }
.inquiry_panel:has(form[aria-busy=true]) .form_status { color: var(--muted); background: var(--brand-soft); }
.form_errors { color: var(--brand-error); background: var(--brand-error-soft); }
.inquiry_panel:has(#inquiry_form[hidden]) { padding-block: 44px; }
.inquiry_panel:has(#inquiry_form[hidden]) .form_status { margin: 0; padding: 0; border-radius: 0; background: transparent; font-size: 17px; }
#new_inquiry { margin-top: 28px; }

/* Chinese has its own spacing, rather than Latin tracking. */
html[lang=zh-CN] h1, html[lang=zh-CN] h2, html[lang=zh-CN] h3 { letter-spacing: var(--tracking-heading-zh); line-height: 1.25; }
html[lang=zh-CN] .inquiry_panel legend { letter-spacing: var(--tracking-heading-zh); }
html[lang=zh-CN] .hero h1 { font-size: clamp(48px, 5.4vw, 80px); }
html[lang=zh-CN] .hero_intro { font-size: 19px; letter-spacing: 0; }
html[lang=zh-CN] .eyebrow { letter-spacing: .12em; }
html[lang=zh-CN] .page_title { font-size: clamp(44px, 4.8vw, 72px); }
html[lang=zh-CN] .business_title { letter-spacing: var(--tracking-heading-zh); }
html[lang=zh-CN] .page_heading .page_title { font-size: clamp(40px, 4.3vw, 64px); }

@media (min-width: 1700px) {
  .material_image { height: 476px; }
}
@media (max-width: 1100px) {
  .desktop_nav { gap: 18px; font-size: 12px; }
  .header_navigation { gap: 20px; }
  .company_story, .story_section { gap: 45px; }
  .craft_image, .story_image { height: 470px; }
  .contact_layout { gap: 42px; }
  .inquiry_panel { padding: 28px; }
  .field_grid { grid-template-columns: 1fr; gap: 21px; }
  .footer_main { gap: 28px; }
}
@media (max-width: 1000px) {
  .page_heading { grid-template-columns: 1fr; gap: 22px; }
  .page_heading .page_intro { justify-self: start; max-width: 620px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 100px; }
  h2 { font-size: clamp(32px, 8.8vw, 38px); line-height: 1.16; }
  .site_header { min-height: 78px; gap: 14px; padding-block: 10px; }
  .wordmark { font-size: 28px; }
  .header_navigation { gap: 12px; }
  .desktop_nav { display: none; }
  .mobile_menu { position: relative; display: block; }
  .mobile_menu summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 70px; min-height: 44px; list-style: none; font-size: 13px; line-height: 1.5; }
  .mobile_menu summary::-webkit-details-marker { display: none; }
  .mobile_menu summary > span { display: block; font-size: 24px; font-weight: 300; line-height: 1; transition: transform .2s ease; }
  .mobile_menu[open] summary > span { transform: rotate(45deg); }
  .mobile_menu nav { position: absolute; top: 55px; right: 0; display: grid; gap: 4px; width: min(280px, calc(100vw - 48px)); padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-image); background: var(--paper); box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 9%, transparent); }
  .mobile_menu nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 4px; color: var(--muted); font-size: 14px; }
  .mobile_menu nav a:hover, .mobile_menu nav a[aria-current] { color: var(--ink); background: var(--brand-soft); }
  .mobile_menu nav a[aria-current] { font-weight: 500; }
  .material_hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(43px, 12.6vw, 58px); line-height: 1.1; }
  .hero_intro { max-width: 325px; margin: 22px auto 0; font-size: 16px; line-height: 1.7; }
  .material_hero .hero_actions { margin-top: 24px; }
  .material_pair { grid-template-columns: 1fr; gap: 32px; margin-top: 34px; }
  .material_image { height: clamp(300px, 85vw, 420px); }
  .material_pair .business:first-child img { object-position: 43% center; }
  .material_pair .business_title { font-size: 25px; }
  .business_grid { grid-template-columns: 1fr; gap: 42px; margin-top: 30px; }
  .business { scroll-margin-top: 100px; }
  .business_image { height: clamp(350px, 112vw, 540px); }
  .business_copy { padding-top: 22px; }
  .business_title { font-size: 29px; }
  .business p { max-width: 450px; }
  .company_copy h2, .story_copy h2 { font-size: clamp(32px, 8.8vw, 38px); }
  .company_story, .story_section { grid-template-columns: 1fr; gap: 30px; }
  .company_summary { margin-top: 21px; font-size: 15px; }
  .company_copy > .eyebrow { margin-bottom: 19px; }
  .company_links { gap: 8px 25px; margin-top: 20px; }
  .craft_image { height: 360px; }
  .craft_image figcaption { left: 16px; bottom: 16px; font-size: 10px; }
  .contact { grid-template-columns: 1fr; justify-items: start; gap: 26px; padding-block: 52px; }
  .contact h2 { font-size: clamp(32px, 9vw, 38px); }
  .site_footer { padding-block: 42px 26px; }
  .footer_main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer_brand { grid-column: 1/-1; }
  .footer_brand > p { max-width: 310px; margin-top: 8px; font-size: 14px; }
  .footer_heading { min-height: 32px; margin-bottom: 8px; }
  .footer_contact { justify-self: start; }
  .footer_email { font-size: 12px; overflow-wrap: anywhere; }
  .footer_navigation > a { font-size: 13px; }
  .footer_wordmark { font-size: 24px; }
  .footer_identity { display: grid; gap: 5px; margin-top: 30px; padding-top: 21px; }
  .entity_names { margin-top: 10px; text-align: left; }
  .page_heading { gap: 20px; padding-block: 48px 38px; }
  .page_heading .page_title { font-size: clamp(37px, 10vw, 46px); }
  .page_heading .page_intro { font-size: 15px; }
  .page_title { font-size: clamp(38px, 11vw, 50px); line-height: 1.16; }
  .page_intro { margin-top: 23px; font-size: 15px; }
  .story_section { padding-top: 8px; }
  .story_image { height: 360px; }
  .story_copy > p { margin-top: 22px; font-size: 15px; }
  .principles, .principle_grid { grid-template-columns: 1fr; gap: 32px; }
  .principles { padding-top: 8px; }
  .principles article, .principle_grid article { padding-top: 21px; }
  .principles h2, .principle_grid h3 { font-size: 25px; }
  .principles p, .principle_grid p { max-width: none; font-size: 15px; }
  .business_detail .business_grid { gap: 44px; }
  .business_detail .business_image { height: clamp(350px, 112vw, 540px); }
  .business_note { margin-top: 38px; font-size: 13px; }
  .supply_stages { padding-block: 54px; }
  .principle_grid { margin-top: 32px; }
  .delivery_section { grid-template-columns: 1fr; gap: 24px; }
  .delivery_section h2 { font-size: 36px; }
  .delivery_section > p { font-size: 15px; }
  .contact_page { padding-top: 52px; }
  .contact_layout { grid-template-columns: 1fr; gap: 38px; margin-top: 36px; }
  .contact_details { order: 2; padding-top: 0; }
  .contact_details h2 { font-size: 30px; }
  .contact_details > p { max-width: 450px; font-size: 15px; }
  .contact_facts dd { font-size: 14px; }
  .inquiry_panel { padding: 25px; }
  .inquiry_panel legend { font-size: 25px; }
  .form_note { font-size: 13px; }
  .form_actions .button { width: 100%; }
  .form_status, .form_errors { font-size: 13px; }
  .inquiry_panel:has(#inquiry_form[hidden]) { padding-block: 32px; }
  html[lang=zh-CN] .hero h1 { font-size: clamp(38px, 11.1vw, 49px); }
  html[lang=zh-CN] .hero_intro { font-size: 17px; }
  html[lang=zh-CN] .page_title { font-size: clamp(35px, 10.3vw, 46px); }
  html[lang=zh-CN] .page_heading .page_title { font-size: clamp(33px, 9vw, 42px); }
}
@media (max-width: 360px) {
  .site_header { gap: 8px; }
  .wordmark { font-size: 26px; }
  .header_navigation { gap: 8px; }
  .mobile_menu summary { min-width: 64px; gap: 9px; }
  .footer_wordmark { font-size: 22px; }
  .footer_main { grid-template-columns: 1fr; gap: 25px; }
  .footer_brand { grid-column: auto; }
  .footer_email { font-size: 14px; }
  .inquiry_panel { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
