/* International Business — internationalbusiness.com.sa */

@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-ext-standard-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Readex Pro"; src: url("/assets/fonts/readex-pro-arabic-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; src: url("/assets/fonts/readex-pro-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; src: url("/assets/fonts/readex-pro-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; src: url("/assets/fonts/readex-pro-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }


:root {
  --ink: #0B3D47;
  --sea: #10606A;
  --sea-deep: #0D4E57;
  --paper: #F7F8F4;
  --mist: #E7ECE9;
  --line: #D4DDDA;
  --sand: #C79C4A;
  --text: #1E3439;
  --muted: #55686C;
  --white: #FFFFFF;

  --display: "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --arabic: "Readex Pro", "Instrument Sans", system-ui, sans-serif;

  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

html[lang="ar"] body { font-family: var(--arabic); line-height: 1.8; }

img, svg { display: block; max-width: 100%; }

a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; inset-inline-start: var(--gutter); top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 36px; height: 22px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sea); text-decoration: underline; text-underline-offset: 6px; }
.nav .lang { font-family: var(--arabic); border-left: 1px solid var(--line); padding-left: 20px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; padding: 6px 12px; border-radius: 4px; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; z-index: 5; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav .lang { border-left: 0; padding-left: 0; }
  .site-header { position: relative; }
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--arabic); line-height: 1.35; }

h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text); max-width: 60ch; }
.small { font-size: 0.875rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.hero h1 .line { display: block; }
.hero h1 .line-2 { font-weight: 700; color: var(--sea); }
.hero .lede { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- Origin strip (the one memorable element) ---------- */
.origins { padding: 0 0 clamp(56px, 8vw, 96px); }
.origins h2 { font-size: 1.05rem; font-family: var(--body); font-weight: 600; color: var(--text); margin-bottom: 14px; }
.strip { display: flex; height: 56px; width: 100%; border-radius: 3px; overflow: hidden; background: var(--mist); }
.strip span { display: block; height: 100%; flex: none; border-right: 2px solid var(--paper); }
.strip span:last-child { border-right: 0; }
.strip .c1 { background: var(--ink); }
.strip .c2 { background: var(--sea-deep); }
.strip .c3 { background: var(--sea); }
.strip .c4 { background: #4C8790; }
.strip .c5 { background: #86ADB2; }
.strip .c6 { background: #B5CDCF; }
.strip .rest { background: var(--line); }

.strip-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.strip-legend li { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; }
.strip-legend .swatch { width: 10px; height: 10px; flex: none; border-radius: 2px; transform: translateY(1px); }
.strip-legend b { font-weight: 600; color: var(--ink); }
.strip-legend .growth { color: var(--muted); font-size: 0.85rem; }
.origins .source { margin-top: 14px; }


/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { padding: clamp(40px, 6vw, 80px) var(--gutter); color: var(--paper); text-decoration: none; display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.door h2 { color: var(--white); }
.door p { color: #D9E4E2; max-width: 44ch; }
.door .go { margin-top: auto; font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sand); }
.door-intl { background: var(--ink); }
.door-buyers { background: var(--sea); }
.door:hover .go { text-decoration-thickness: 2px; }
.door .who { font-size: 0.95rem; color: var(--sand); font-weight: 500; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Industries table */
.industries { width: 100%; border-collapse: collapse; margin-top: 40px; }
.industries th, .industries td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.industries th { font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.industries td:first-child { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); width: 32%; }
.industries .hs { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.industries tr.more td { color: var(--muted); font-family: var(--body); font-size: 1rem; font-weight: 400; }
@media (max-width: 640px) {
  .industries thead { display: none; }
  .industries tr { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .industries td { display: block; border: 0; padding: 2px 0; width: auto !important; }
}

/* Insights list */
.insights { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.insights li { border-top: 2px solid var(--ink); padding-top: 18px; }
.insights a { color: var(--ink); text-decoration: none; }
.insights a:hover h3 { color: var(--sea); text-decoration: underline; text-underline-offset: 5px; }
.insights p { color: var(--muted); font-size: 0.97rem; margin-top: 8px; }
.insights .soon { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .insights { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Article / inner pages ---------- */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); max-width: 20ch; }
.page-head .lede { margin-top: 24px; }

.prose { padding: clamp(40px, 6vw, 72px) 0; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 8px; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
html[lang="ar"] .prose ul, html[lang="ar"] .prose ol { padding-left: 0; padding-right: 1.2em; }

.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.aside { background: var(--mist); padding: 28px; border-radius: 4px; position: sticky; top: 24px; }
.aside h3 { margin-bottom: 8px; }
.aside .fee { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--ink); margin: 8px 0 4px; }
.aside p { font-size: 0.95rem; }

.deliverables { list-style: none; padding: 0; margin: 24px 0 0; max-width: var(--measure); }
.deliverables li { padding: 18px 0; border-top: 1px solid var(--line); }
.deliverables li:last-child { border-bottom: 1px solid var(--line); }
.deliverables b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border: 1px solid var(--sea); color: var(--sea); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; }

.role { padding: 24px 0; border-top: 1px solid var(--line); }
.role h3 { margin: 0 0 6px; }
.role p { margin: 0; }

.note { border-left: 3px solid var(--sand); padding: 4px 0 4px 18px; color: var(--muted); max-width: var(--measure); }
html[lang="ar"] .note { border-left: 0; border-right: 3px solid var(--sand); padding: 4px 18px 4px 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; max-width: 640px; margin-top: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  font: inherit; color: var(--text); background: var(--white);
  border: 1px solid #AEBBB8; border-radius: 4px; padding: 11px 12px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--sand); outline-offset: 1px; border-color: var(--sea); }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; margin-top: 8px; }
.checks label, .consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.checks input, .consent input { margin-top: 5px; accent-color: var(--sea); width: 18px; height: 18px; flex: none; }
.consent { font-size: 0.95rem; }

.button { display: inline-block; font: inherit; font-weight: 600; background: var(--ink); color: var(--white); border: 0; border-radius: 4px; padding: 14px 24px; cursor: pointer; text-decoration: none; justify-self: start; }
.button:hover { background: var(--sea); color: var(--white); }

.form-status { padding: 14px 16px; border-radius: 4px; background: var(--mist); color: var(--ink); display: none; }
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C9C6; padding: 48px 0 40px; margin-top: 0; }
.site-footer a { color: #DCE7E5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--display); color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; font-size: 0.95rem; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #27444C; font-size: 0.78rem; line-height: 1.7; color: #8FA6A2; }
.legal p { max-width: none; margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- RTL ---------- */
html[dir="rtl"] .nav .lang { border-left: 0; padding-left: 0; border-right: 1px solid var(--line); padding-right: 20px; font-family: var(--body); }
html[dir="rtl"] .industries th, html[dir="rtl"] .industries td { text-align: right; }
html[dir="rtl"] .steps li { padding: 0 52px 22px 0; }
html[dir="rtl"] .steps li::before { left: auto; right: 0; }

/* ---------- Review fixes ---------- */
.section > .wrap > h2 { margin-bottom: 12px; }
.door { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.doors .door-buyers { padding-inline-start: var(--gutter); }
@media (max-width: 760px) { .doors .door-buyers { padding-inline-start: var(--gutter); } }
.hero h1 { max-width: 22ch; }
.prose ul.deliverables, .prose ol.steps { padding-left: 0; padding-right: 0; }

/* ---------- Type refresh ---------- */
h1, h2, h3, .brand-name, .aside .fee { font-stretch: 82%; letter-spacing: -0.015em; }
h1 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }
.hero h1 .line-2 { font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-stretch: normal; letter-spacing: 0; font-weight: 500; }
.strip .c7 { background: #C9D9DB; }
.origins h2 { font-stretch: normal; letter-spacing: 0; }
.hero h1 { max-width: none; }

/* ---------- Arrival mark (golden-ratio tiles nesting toward one point) ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); gap: 32px 56px; align-items: end; }
.hero .hero-text { min-width: 0; }
.arrival { width: 100%; max-width: 420px; justify-self: end; margin-bottom: 8px; }
.arrival rect, .arrival circle { transform-box: fill-box; transform-origin: center; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .arrival { max-width: 260px; justify-self: start; order: -1; margin-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .arrival .t { opacity: 0; animation: tile 700ms cubic-bezier(.2,.7,.2,1) forwards; }
  .arrival .t1 { animation-delay: 100ms; }
  .arrival .t2 { animation-delay: 320ms; }
  .arrival .t3 { animation-delay: 520ms; }
  .arrival .t4 { animation-delay: 700ms; }
  .arrival .t5 { animation-delay: 860ms; }
  .arrival .dot { opacity: 0; animation: land 500ms cubic-bezier(.2,.7,.2,1) 1050ms forwards; }
  @keyframes tile { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
  @keyframes land { from { opacity: 0; transform: scale(2.2); } to { opacity: 1; transform: scale(1); } }
}
.door .who { color: var(--sand); }
.site-footer { background: var(--ink); }
.site-footer .footer-grid h2 { color: var(--white); }
.legal { border-top-color: #1C5560; }
.button:hover { background: var(--sea); }
.insights li { border-top-color: var(--sand); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
.hero .wrap { align-items: start; }
.arrival { margin-top: 18px; }
@media (max-width: 900px) {
  .arrival { order: 0; max-width: 200px; margin-top: 8px; }
}
.hero h1 .line { text-wrap: balance; }

.arrival .spiral { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .arrival .spiral { stroke-dashoffset: 1; animation: draw 1400ms cubic-bezier(.45,.05,.25,1) 500ms forwards; }
  .arrival .dot { animation-delay: 1750ms; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Offer block (home) ---------- */
.offer { border-top: 1px solid var(--line); }
.offer .section-head > div p { color: var(--text); }
.offer-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; max-width: 760px; }
.offer-list li { border-top: 2px solid var(--sand); padding-top: 12px; }
.offer-list b { display: block; font-family: var(--display); font-stretch: 82%; font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 640px) { .offer-list { grid-template-columns: 1fr; } }
.offer-terms { font-weight: 600; color: var(--ink) !important; }
.offer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; }
.offer .role { margin-top: 28px; font-size: 0.95rem; color: var(--muted) !important; border-left: 3px solid var(--sand); padding-left: 14px; }
.origins { padding-top: clamp(56px, 8vw, 96px); }
.bridge { font-size: 1.15rem; color: var(--ink); margin-bottom: 28px; max-width: 56ch; }
.strip .c3 { background: #C79C4A; }
.strip .c4 { background: #5E949C; }
.strip .c5 { background: #9C7A3A; }
.strip .c2 { background: #10606A; }

/* ---------- Hero cue and decision emphasis ---------- */
.hero-cue { margin-top: 28px; }
.hero-cue a { font-weight: 600; color: var(--ink); text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-cue a:hover { color: var(--sea); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.offer-list li.decision { grid-column: 1 / -1; background: var(--ink); color: #DCE7E5; border-top: 0; padding: 20px 24px; border-radius: 4px; }
.offer-list li.decision b { color: var(--white); font-size: 1.4rem; }
.offer-terms { font-family: var(--display); font-stretch: 86%; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; margin-top: 8px; }
#offer-title { scroll-margin-top: 24px; }
.offer-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; max-width: none; }
@media (max-width: 760px) { .offer-list { grid-template-columns: 1fr; } }
.offer-terms { margin-bottom: 4px; }
