/* ============================================================
   Sydney.Enterprises — premium trade / import-export design system
   Palette: warm gold on ink + ivory. Type: Cormorant Garamond
   (display serif) + Jost (geometric labels/wordmark) + Inter (body).
   A distinct corporate-editorial style (not shared with other sites).
   ============================================================ */

:root {
  /* Brand */
  --gold:        #b8893f;
  --gold-bright: #c9a25c;
  --gold-deep:   #946a2c;
  --gold-soft:   #e7d4b3;

  /* Ink / dark surfaces */
  --ink:    #14171d;
  --ink-2:  #181c24;
  --ink-3:  #20252f;   /* cards on dark */

  /* Light surfaces */
  --canvas:    #faf8f4;
  --surface:   #ffffff;
  --surface-2: #f4efe6;
  --line:      #e9e2d5;
  --line-2:    #ddd4c2;

  /* Text */
  --heading: #15181e;
  --body:    #4a4e57;
  --muted:   #8a8e98;
  --on-dark:        #f2efe8;
  --on-dark-muted:  #a8a59c;
  --on-dark-faint:  rgba(242,239,232,.55);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --geo:   'Jost', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --sans:  'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1180px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20,23,29,.04), 0 6px 20px rgba(20,23,29,.06);
  --shadow-md: 0 10px 40px rgba(20,23,29,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--body); background: var(--canvas);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section-sm { padding-block: clamp(44px, 5vw, 72px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--geo); font-weight: 500; text-transform: uppercase;
  letter-spacing: .24em; font-size: 12px; color: var(--gold-deep); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow.center { justify-content: center; }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 74px); line-height: 1.04; letter-spacing: -.01em; color: var(--heading); }
h2.title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-family: var(--geo); font-weight: 500; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--body); line-height: 1.6; }
.gold-text { color: var(--gold); }
.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin: 16px 0 0; color: var(--body); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--radius); padding: 13px 26px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(201,162,92,.55); }
.btn-ghost-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.link-arrow { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 12.5px; font-family: var(--geo); letter-spacing: .04em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-inner .dot { color: var(--gold); margin: 0 10px; }
.topbar a { color: var(--on-dark-muted); }
.topbar a:hover { color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250,248,244,.86); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(20,23,29,.08); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 46px; height: 34px; display: block; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-logo { height: 34px; width: auto; display: block; }
.footer-brand .brand-logo { height: 30px; margin-bottom: 6px; }
.brand-text { font-family: var(--geo); font-weight: 400; font-size: 22px; letter-spacing: .02em; line-height: 1; }
.bw-sydney { color: var(--heading); }
.bw-dot { color: var(--gold); }
.bw-ent { color: var(--gold-deep); }

.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-nav a { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--body); position: relative; padding: 6px 0; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--heading); }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold); transition: right .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--heading); border-radius: 2px; transition: .25s; }
.mobile-nav { display: none; flex-direction: column; padding: 10px 26px 22px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 13px 0; font-weight: 500; color: var(--heading); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 82% 8%, rgba(184,137,63,.26), transparent 55%); pointer-events: none; }
.hero-routes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.hero-eagle { position: absolute; right: -40px; bottom: -30px; width: min(46vw, 560px); opacity: .05; pointer-events: none; }
.hero-eagle svg { width: 100%; height: auto; }
.hero-inner { position: relative; max-width: 800px; padding-block: clamp(80px, 12vw, 156px); }
.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before { background: var(--gold-bright); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--on-dark-muted); max-width: 600px; margin: 24px 0 36px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(242,239,232,.12); }
.hero-tags span { font-family: var(--geo); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); display: inline-flex; align-items: center; gap: 10px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ---------- Stats strip ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; color: var(--gold-deep); display: block; }
.stat-label { font-family: var(--geo); font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-top: 10px; }

/* ---------- Split intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 92px); align-items: center; }
.split-statement { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.22; color: var(--heading); }
.split-statement .gold-text { font-style: italic; }
.prose p { margin: 0 0 18px; font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.mini-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--heading); }
.mini-list svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ico { width: 52px; height: 52px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; color: var(--gold-deep); margin-bottom: 22px; }
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 21px; color: var(--heading); margin-bottom: 10px; letter-spacing: .005em; }
.feature-card p { font-size: 15.5px; margin: 0 0 18px; color: var(--body); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-2); }
.industry-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); filter: saturate(.92); }
.industry-card:hover .industry-photo img { transform: scale(1.05); }
.industry-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,29,.05), rgba(20,23,29,.5)); }
.industry-photo .tag { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--geo); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.industry-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.industry-body h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--heading); margin-bottom: 10px; }
.industry-body p { font-size: 15.5px; margin: 0 0 16px; }
.industry-body ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.industry-body li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--heading); }
.industry-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border: 1.5px solid var(--gold); border-radius: 50%; }
.industry-body .link-arrow { margin-top: auto; }

/* ---------- Process ---------- */
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-dark .title, .band-dark h3 { color: #fff; }
.band-dark .section-head p { color: var(--on-dark-muted); }
.band-dark .eyebrow { color: var(--gold-bright); }
.band-dark .eyebrow::before { background: var(--gold-bright); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 16px; }
.step { padding-top: 28px; border-top: 1px solid rgba(242,239,232,.16); }
.step-num { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--gold-bright); line-height: 1; }
.step h3 { font-family: var(--geo); font-weight: 500; font-size: 18px; color: #fff; margin: 16px 0 8px; }
.step p { font-size: 14.5px; color: var(--on-dark-muted); margin: 0; }

/* ---------- Value props ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 44px; }
.value { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value-ico { width: 44px; height: 44px; flex: 0 0 auto; color: var(--gold-deep); display: grid; place-items: center; }
.value-ico svg { width: 26px; height: 26px; }
.value h3 { font-family: var(--geo); font-weight: 500; font-size: 18px; color: var(--heading); margin-bottom: 6px; }
.value p { font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 120% at 85% 50%, rgba(184,137,63,.22), transparent 55%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); color: #fff; line-height: 1.1; max-width: 620px; }
.cta-inner p { color: var(--on-dark-muted); margin: 14px 0 0; max-width: 520px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--geo); font-size: 13px; letter-spacing: .04em; color: var(--heading); margin-bottom: 8px; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--heading); background: var(--canvas);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,137,63,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-success { display: none; background: #ecf6ee; border: 1px solid #bcdcc4; color: #1f5733; padding: 12px 16px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 18px; }
.form-success.error { background: #fbecec; border-color: #e6c3c3; color: #8a2b2b; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Inner-page hero ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 110% at 88% 10%, rgba(184,137,63,.20), transparent 55%); }
.page-hero-inner { position: relative; max-width: 760px; padding-block: clamp(60px, 8vw, 110px); }
.page-hero h1 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.page-hero p { color: var(--on-dark-muted); font-size: 18px; margin: 20px 0 0; max-width: 620px; }
.breadcrumb { font-family: var(--geo); font-size: 12.5px; letter-spacing: .08em; color: var(--on-dark-faint); margin-bottom: 22px; display: flex; gap: 9px; align-items: center; }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Content prose (legal / about) ---------- */
.prose-page { max-width: 760px; }
.prose-page h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 40px 0 14px; color: var(--heading); }
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { font-family: var(--geo); font-weight: 500; font-size: 19px; margin: 26px 0 10px; color: var(--heading); }
.prose-page p { margin: 0 0 16px; font-size: 16.5px; }
.prose-page ul { margin: 0 0 18px; padding-left: 22px; }
.prose-page li { margin-bottom: 8px; font-size: 16px; }
.prose-page a { text-decoration: underline; }
.callout { background: var(--surface-2); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 24px 0; font-size: 15.5px; color: var(--heading); }

/* ---------- Detail sections (industries page) ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.detail.flip .detail-media { order: 2; }
.detail-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }
.detail-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.detail-body ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.detail-body li { display: flex; gap: 12px; font-size: 15.5px; color: var(--heading); }
.detail-body li svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px; }
.footer-brand .brand-text { font-size: 22px; }
.footer-brand .bw-sydney { color: #fff; }
.footer-brand p { font-size: 14.5px; margin: 18px 0 0; max-width: 300px; line-height: 1.6; color: var(--on-dark-muted); }
.footer-col h4 { font-family: var(--geo); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(242,239,232,.12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--on-dark-faint); }
.footer-bottom .ack { max-width: 640px; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(140%); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: var(--radius); font-size: 14.5px; box-shadow: var(--shadow-md); z-index: 200; transition: transform .4s var(--ease); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Route animation ---------- */
.route-line { stroke-dasharray: 4 7; animation: dash 9s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -110; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .primary-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .card-grid, .industry-grid, .steps, .value-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .split, .detail, .detail.flip .detail-media { grid-template-columns: 1fr; order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid, .industry-grid, .steps, .value-grid, .stats-grid { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar-inner .hide-sm { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .route-line { animation: none; }
}
