@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --cream: #f7f5ed;
  --paper: #fffdf7;
  --sand: #ede9dc;
  --olive: #25382a;
  --forest: #1e3024;
  --ink: #213025;
  --muted: #4f5a50;
  --gold: #e4c588;
  --gold-dark: #755320;
  --line: #d7d4c8;
  --dark-line: #5a6a59;
  --body: Inter, system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --nav-height: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
img, video, svg { display: block; }
img, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
figure, p, dl, dd { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font: 400 1rem/1.04 var(--display); }
h1 { font-size: clamp(3.2rem, 7.5vw, 6.15rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.38rem, 4.6vw, 4.15rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
p + p { margin-top: .95rem; }
main, section[id] { scroll-margin-top: calc(var(--nav-height) + .4rem); }
#form-title { scroll-margin-top: calc(var(--nav-height) + 1.25rem); }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }
.container { width: min(calc(100% - 2.5rem), 75rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7.55vw, 6.75rem); }
.icon-library { position: absolute; overflow: hidden; }
.icon, .document-icon, .document-arrow { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
figcaption { margin-top: .6rem; color: var(--muted); font-size: .79rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.1rem;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  font: 700 .86rem/1.3 var(--body);
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button-primary { background: var(--olive); color: var(--paper); }
.button-primary:hover { background: #3a5140; }
.button-secondary { border-color: #75806f; color: var(--olive); }
.button-secondary:hover { background: var(--sand); }
.button-light { background: var(--gold); color: var(--forest); }
.button-light:hover { background: #f0d69d; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .885rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.text-link:hover { color: var(--gold-dark); }

.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .6rem 1rem; transform: translateY(-160%); background: var(--paper); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; min-height: var(--nav-height); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: clamp(9.3rem, 18vw, 11.2rem); text-decoration: none; }
.brand img { width: 100%; }
.language-menu { position: relative; margin-inline-start: auto; }
.language-menu summary { display: flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: .22rem; font-size: .8rem; font-weight: 700; list-style: none; cursor: pointer; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary, .language-menu summary:hover { background: var(--sand); }
.flag { width: 1.35rem; height: .95rem; flex: 0 0 auto; filter: drop-shadow(0 0 .5px #8d9184); }
.language-menu ul { position: absolute; inset-block-start: calc(100% + .35rem); inset-inline-end: 0; z-index: 2; width: max-content; min-width: 9rem; max-height: 65dvh; margin: 0; padding: .3rem; overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: .22rem; box-shadow: 0 .5rem 1rem rgb(30 48 36 / 12%); list-style: none; }
.language-menu a { display: flex; align-items: center; gap: .6rem; min-height: 2.65rem; padding: .55rem .65rem; border-radius: .18rem; font-size: .86rem; text-decoration: none; }
.language-menu a:is(:hover, [aria-current="page"]) { background: var(--sand); }
.language-menu a[aria-current="page"] { font-weight: 700; }
.menu-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .46rem .65rem; border: 1px solid var(--line); border-radius: .22rem; background: transparent; color: var(--ink); font-size: .85rem; font-weight: 600; }
.menu-lines { position: relative; width: 1rem; height: 8px; border-block: 1px solid currentColor; }
.menu-toggle[aria-expanded="true"] { background: var(--sand); }
.navigation { display: flex; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: .12rem; max-height: calc(100dvh - var(--nav-height)); padding-bottom: 1rem; overflow: auto; }
.navigation > a:not(.button) { display: flex; align-items: center; min-height: 2.75rem; font-size: .875rem; font-weight: 600; text-decoration: none; }
.navigation > a:not(.button):hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: .3em; }
.nav-cta { align-self: flex-start; }

.hero { padding-block: clamp(2.55rem, 5.1vw, 4.7rem); }
.hero-grid { display: grid; align-items: center; gap: clamp(1.8rem, 4vw, 3.8rem); }
.hero-copy { min-width: 0; }
.hero-label { display: flex; align-items: center; gap: .6rem; margin-bottom: .95rem; color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-label::before { width: 1.35rem; height: 1px; flex: 0 0 auto; background: currentColor; content: ""; }
.hero-description { max-width: 31rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .65rem; margin-top: 1.7rem; }
.hero-figure { position: relative; min-width: 0; }
.hero-figure img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: center; border-radius: .35rem .35rem .05rem .05rem; background: var(--olive); }
.hero-figure figcaption { position: absolute; inset-block-end: .8rem; inset-inline-start: .8rem; margin: 0; padding: .33rem .55rem; border-radius: .16rem; background: var(--forest); color: var(--paper); }

.facts-band { background: var(--forest); color: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; min-width: 0; padding: 1.15rem .65rem; border-bottom: 1px solid var(--dark-line); }
.facts div:nth-child(2n) { border-inline-start: 1px solid var(--dark-line); padding-inline-start: .9rem; }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { color: #dfdfd1; font-size: .72rem; font-weight: 600; }
.facts dd { color: var(--gold); font: 400 clamp(1.62rem, 3.25vw, 2.58rem)/1.04 var(--display); }

.editorial-grid, .process-grid, .quality-grid, .documentation-grid, .bulk-grid, .enquiry-grid { display: grid; align-items: start; gap: clamp(1.65rem, 5vw, 5rem); }
.editorial-grid, .process-grid { align-items: center; }
.editorial-image img { width: 100%; aspect-ratio: 1.34; object-fit: cover; border-radius: .22rem; background: var(--sand); }
.editorial-copy h2, .process-copy h2, .quality h2, .documentation h2, .bulk h2, .enquiry h2 { margin-bottom: .95rem; }
.editorial-copy p, .quality p, .documentation p, .enquiry-copy p { color: var(--muted); }
.editorial-copy strong { color: var(--ink); font-weight: 650; }

.equipment { margin-top: clamp(1.7rem, 5vw, 3.6rem); border-block: 1px solid var(--line); }
.equipment summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.4rem; padding: .75rem 0; color: var(--olive); font-size: .95rem; font-weight: 700; cursor: pointer; list-style: none; }
.equipment summary::-webkit-details-marker { display: none; }
.equipment summary:hover { color: var(--gold-dark); }
.equipment[open] summary .icon { transform: rotate(45deg); }
.equipment-body { padding-bottom: 1.5rem; }
.equipment-body p { max-width: 48rem; color: var(--muted); }
.field-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1.2rem; }
.field-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .18rem; background: var(--sand); }
.field-video { margin-top: 1.5rem; }
.field-video video { width: min(100%, 42rem); max-height: 30rem; aspect-ratio: 16 / 10; object-fit: contain; background: var(--forest); border-radius: .18rem; }
.field-video .text-link { margin-top: .45rem; }

.process { background: var(--olive); color: var(--paper); }
.process-copy p, .process-figure figcaption, .bulk-copy p { color: #eadfce; }
.process-copy .target { display: grid; gap: .2rem; padding: .65rem 0 1rem; color: var(--gold); }
.target strong { font: 400 clamp(3.7rem, 7.5vw, 6.25rem)/.95 var(--display); }
.target span { font-size: .82rem; font-weight: 700; }
.process-figure img { width: 100%; border-radius: .18rem; background: var(--forest); }

.quality { background: var(--paper); }
.quality .text-link { margin-top: .85rem; }
.quality-list { border-top: 1px solid var(--line); }
.quality-list div { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.quality-list dt { color: var(--olive); font-size: .98rem; font-weight: 700; }
.quality-list dd { margin-top: .3rem; color: var(--muted); font-size: .94rem; }

.documentation { background: var(--sand); }
.documentation .document-note { margin: .35rem 0 1rem; font-size: .86rem; }
.document-list { margin: 0; padding: 0; border-top: 1px solid #cac7bb; list-style: none; }
.document { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) 1.2rem; align-items: center; gap: .3rem .6rem; padding: .82rem 0; border-bottom: 1px solid #cac7bb; text-decoration: none; }
.document:hover strong { text-decoration: underline; text-underline-offset: .23em; }
.document strong, .document small { display: block; }
.document strong { font-size: .92rem; }
.document small { margin-top: .15rem; color: var(--muted); font-size: .78rem; }
.document-icon { color: var(--gold-dark); }
.document-arrow { grid-column: 3; grid-row: 1 / span 2; }
.pdf-tag { grid-column: 2; justify-self: start; color: var(--gold-dark); font-size: .67rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }

.bulk { background: var(--forest); color: var(--paper); }
.bulk .button { margin-top: 1.25rem; }
.bulk :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.specifications { border-top: 1px solid var(--dark-line); }
.specifications div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .55rem 1.15rem; padding: .75rem 0; border-bottom: 1px solid var(--dark-line); font-size: .9rem; overflow-wrap: anywhere; }
.specifications dt { color: #dedfd0; }
.specifications dd { color: var(--paper); font-weight: 650; }

.contact-details { display: grid; gap: .65rem; margin-top: 1.4rem; }
.contact-details div { display: flex; align-items: center; gap: .55rem; }
.contact-details .icon { color: var(--gold-dark); }
.contact-details a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.enquiry-form { min-width: 0; padding: clamp(1.15rem, 3.65vw, 2.35rem); border: 1px solid var(--line); border-radius: .25rem; background: var(--paper); }
.form-note { margin: .35rem 0 1.15rem; color: var(--muted); font-size: .83rem; }
.form-grid { display: grid; gap: .8rem; }
.form-grid label { min-width: 0; font-size: .85rem; font-weight: 650; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; min-height: 2.75rem; margin-top: .32rem; padding: .59rem .64rem; border: 1px solid #818779; border-radius: .18rem; background: #fff; color: var(--ink); font-size: .96rem; font-weight: 400; }
.form-grid textarea { min-height: 6.25rem; resize: vertical; }
.form-grid textarea::placeholder { color: #596458; opacity: 1; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 1rem; }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-status { margin-top: .7rem; color: var(--muted); font-size: .85rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8b3025; }

.site-footer { padding: 2.4rem 0 1rem; background: var(--forest); color: #e7e4d8; font-size: .86rem; }
.footer-grid { display: grid; gap: 1.15rem; align-items: start; }
.footer-brand { margin-bottom: .75rem; }
.footer-links { display: grid; justify-items: start; gap: .25rem; }
.footer-links a, .footer-links button { min-height: 2rem; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { margin-top: 1.3rem; padding-top: .85rem; border-top: 1px solid var(--dark-line); }
.site-dialog { width: min(calc(100% - 2rem), 37rem); max-height: calc(100% - 2rem); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .24rem; background: var(--paper); color: var(--ink); }
.site-dialog::backdrop { background: rgb(19 30 22 / 72%); }
.site-dialog form { display: flex; justify-content: flex-end; }
.site-dialog h2 { margin: .35rem 0 .8rem; font-size: clamp(2rem, 6vw, 2.75rem); }
.site-dialog p { overflow-wrap: anywhere; font-size: .93rem; }
.dialog-close { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 1.65rem; line-height: 1; }

@media (max-width: 24rem) {
  .header-inner { column-gap: .55rem; }
  .brand { width: 8.3rem; }
  .menu-toggle { min-width: 2.75rem; justify-content: center; }
  .menu-text { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
}

@media (min-width: 36rem) {
  .container { width: min(calc(100% - 4rem), 75rem); }
  .facts div { padding: 1.55rem 1rem; }
  .field-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr auto; }
  .document { grid-template-columns: 1.4rem minmax(0, 1fr) auto 1.2rem; gap: .65rem; }
  .pdf-tag, .document-arrow { grid-column: auto; grid-row: auto; }
}

@media (min-width: 52rem) {
  h1 { font-size: clamp(3.2rem, 6.15vw, 6.15rem); }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts div { padding: 1.6rem 1.2rem; border-bottom: 0; }
  .facts div:nth-child(2n) { padding-inline-start: 1.2rem; }
  .facts div + div { border-inline-start: 1px solid var(--dark-line); }
  .facts div:first-child { padding-inline-start: 0; }
  .editorial-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); }
  .process-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .quality-grid, .documentation-grid, .bulk-grid, .enquiry-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

@media (min-width: 61rem) {
  .header-inner { flex-wrap: nowrap; }
  .menu-toggle { display: none; }
  .navigation { order: 1; flex: 0 1 auto; flex-direction: row; align-items: center; gap: clamp(.85rem, 1.85vw, 1.8rem); max-height: none; margin-inline-start: auto; padding: 0; overflow: visible; }
  .nav-cta { align-self: center; }
  .language-menu { order: 2; margin-inline-start: 0; }
}

html[lang="ar"] { --body: "Noto Sans Arabic", "Segoe UI", sans-serif; --display: "Noto Naskh Arabic", "Segoe UI", serif; }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.2; letter-spacing: 0; }
html[lang="ar"] h1 { font-size: clamp(2.9rem, 5.8vw, 5.6rem); }
html[lang="ar"] .hero-label { letter-spacing: 0; }
html[lang="ar"] .facts dd { unicode-bidi: plaintext; }
html[dir="rtl"] :is(.button, .quality .text-link) .icon { transform: scaleX(-1); }
html[lang="zh-CN"] { --display: "Noto Serif SC", "Songti SC", SimSun, serif; }
html[lang="ja"] { --display: "Noto Serif JP", "Yu Mincho", serif; }
html:is([lang="zh-CN"], [lang="ja"]) :is(h1, h2, h3) { line-height: 1.25; letter-spacing: 0; }
html:is([lang="zh-CN"], [lang="ja"]) h1 { font-size: clamp(2.55rem, 4.6vw, 4.75rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
