/* ==========================================================================
   Governance Australia & Asia — static site styles
   ========================================================================== */

:root {
  --navy:        #0a1420;
  --charcoal:    #1b2229;
  --charcoal-2:  #232b33;
  --ink:         #2a2f35;
  --body:        #4a5258;
  --grey:        #5f6a73;   /* muted text on light backgrounds */
  --grey-on-dark:#9aa4ac;   /* muted text on dark backgrounds  */
  --grey-light:  #c9cfd4;
  --grey-ultra:  #f4f5f6;
  --line:        #e2e5e8;
  --white:       #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Raleway', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 84px;
  --maxw: 1200px;
  --ease: cubic-bezier(.16,.68,.43,.99);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--grey); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.25;
}

p { margin: 0 0 1.4rem; }
p:last-child { margin-bottom: 0; }

blockquote { margin: 0; }

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 110px 0; }

.section--grey { background: var(--grey-ultra); }
.section--dark { background: var(--charcoal); color: var(--grey-light); }
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 18px;
}

.section-title {
  font-size: 40px;
  letter-spacing: .01em;
  margin: 0 0 12px;
}

.rule {
  width: 54px;
  height: 2px;
  background: var(--ink);
  border: 0;
  margin: 0 0 40px;
}

.section--dark .rule { background: var(--white); opacity: .55; }

/* Dotted left border — the signature motif carried over from the original. */
.dotted {
  border-left: 2px dotted rgba(255,255,255,.55);
  padding-left: 26px;
}
.dotted--dark { border-left-color: rgba(42,47,53,.35); }

/* -------------------------------------------------------------- a11y -- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------- skip link -- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  background: var(--white);
  color: var(--ink);
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------- breadcrumbs -- */

.crumbs { margin: 0 0 18px; }

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.crumbs li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); }
.crumbs li + li::before { content: '/'; color: rgba(255,255,255,.35); }
.crumbs a { color: rgba(255,255,255,.72); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* -------------------------------------------------------------- header -- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .35s var(--ease), height .35s var(--ease),
              box-shadow .35s var(--ease);
}

.header.is-stuck {
  height: 68px;
  background: rgba(10,20,32,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

/* Interior pages start with a solid bar. */
.header--solid { background: var(--navy); }

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1;
  display: block;
  border-left: 2px dotted rgba(255,255,255,.6);
  padding-left: 12px;
}
.logo:hover { color: var(--white); }
.logo b { display: block; font-size: 19px; font-weight: 400; letter-spacing: .04em; }
.logo span { display: block; font-size: 13px; letter-spacing: .04em; color: var(--grey-light); margin-top: 3px; }

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width .3s var(--ease);
}

.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

/* Mobile toggle + drawer */

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1000;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .2s linear;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ''; left: 0; top: -7px; }
.nav-toggle span::after  { content: ''; left: 0; top: 7px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

/* No hero photograph is currently set, so the gradient below IS the hero.
   TO ADD ONE: save a wide image (1920px+) as images/hero.jpg and re-insert the
   commented url() line below — it layers over the gradient automatically. */
.hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,14,24,.55), rgba(6,14,24,.55)),
    /* url('../images/hero.jpg'), */
    linear-gradient(140deg, #16212e 0%, #0a1420 55%, #060d16 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  animation: heroScale 18s var(--ease) forwards;
}

@keyframes heroScale {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 120px 32px;
  max-width: 1000px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 28px;
}

.hero__title em {
  display: block;
  font-style: normal;
  color: #b4b4b4;
}

.hero__tagline {
  font-size: clamp(12px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: .2em;
  word-spacing: 2rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin: 0;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px; height: 56px;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.7));
}
.hero__scroll::after {
  content: '';
  position: absolute;
  left: -2px; bottom: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--white);
}

/* ------------------------------------------------------------ services -- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--white);
  padding: 48px 40px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.service:nth-child(even) { background: var(--grey-ultra); }
.service:hover { background: var(--charcoal); transform: translateY(-2px); }
.service:hover h3, .service:hover p, .service:hover .service__icon { color: var(--white); }
.service:hover .service__more { color: var(--white); border-bottom-color: rgba(255,255,255,.6); }

.service__icon {
  font-size: 20px;
  color: var(--grey);
  display: block;
  margin-bottom: 20px;
  transition: color .35s var(--ease);
}

.service h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
  transition: color .35s var(--ease);
}

.service p {
  font-size: 15px;
  transition: color .35s var(--ease);
}

.service__more {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

/* ---------------------------------------------------------- split hero -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
}

.split--reverse .split__media { order: 2; }

.split__media {
  background-color: var(--charcoal-2);
  background-image: linear-gradient(135deg, #2b3540, #131b24);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
}

.split__body {
  display: flex;
  align-items: center;
  padding: 100px 72px;
}

.split__body-inner { max-width: 560px; }

.split--dark { background: var(--charcoal); color: var(--grey-light); }
.split--dark h2, .split--dark h3 { color: var(--white); }
.split--light { background: var(--white); }

.lead {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.3;
  color: inherit;
  margin: 0 0 24px;
}
.split--dark .lead { color: var(--white); }

.link-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.split--dark .link-more { color: var(--white); }
.split--dark .link-more:hover { color: var(--grey-light); }

/* -------------------------------------------------------- testimonials -- */

.quotes { position: relative; }

.quote {
  display: none;
  animation: quoteIn .8s var(--ease);
}
.quote.is-active { display: block; }

@keyframes quoteIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.quote p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 24px;
}

.quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}

.quote__mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: .6;
  color: var(--line);
  display: block;
  margin-bottom: 12px;
}

.quotes__dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.quotes__dots button {
  width: 28px; height: 2px;
  border: 0; padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .3s var(--ease);
}
.quotes__dots button.is-active { background: var(--ink); }

/* ---------------------------------------------------------------- blog -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 36px;
}

.card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20,28,38,.13); }

.card__thumb {
  aspect-ratio: 76 / 50;
  background-color: var(--charcoal-2);
  background-image: linear-gradient(135deg, #2b3540, #151d27);
  overflow: hidden;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__thumb img { transform: scale(1.04); }

.card__body { padding: 28px 30px 34px; }

.card__body h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.card__body p {
  font-size: 15px;
  color: var(--body);
  margin: 0;
}

.card__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}
.card:hover .card__more { color: var(--ink); }

/* ------------------------------------------------------- watch / media -- */

.media-band {
  position: relative;
  background-color: var(--navy);
  background-image: url('../images/watch.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0;
}

.media-band__panel {
  background: rgba(0, 20, 40, .84);
  color: var(--grey-light);
  padding: 56px 56px 60px;
}

.media-band__panel h2 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 44px;
}

.media-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
}

.media-item { padding: 0 30px; }
.media-item:first-child { padding-left: 0; }
.media-item + .media-item { border-left: 2px dotted rgba(255,255,255,.45); }

.media-item h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 26px;
  margin-bottom: 14px;
}

.media-item p { font-size: 14.5px; line-height: 1.7; margin: 0; }

.media-item a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 2px;
}

/* ------------------------------------------------------------- contact -- */

/* The door photo is 4:3 in a taller panel, so `cover` crops its sides.
   Anchor left so the word BOARDROOM keeps its initial letter. */
#contact .split__media { background-position: left center; }

.contact__body a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.35); }
.contact__body a:hover { color: var(--grey-light); }

.contact__details {
  margin-top: 30px;
  font-size: 15px;
  line-height: 2;
}

.split--dark .eyebrow,
.section--dark .eyebrow { color: var(--grey-on-dark); }

.contact__details span {
  display: inline-block;
  min-width: 74px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-on-dark);
}

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--navy);
  color: var(--grey-light);
  padding: 74px 0 54px;
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1.15;
  border-left: 2px dotted rgba(255,255,255,.6);
  padding-left: 16px;
}
.footer__logo b { display: block; font-size: 30px; font-weight: 400; letter-spacing: .03em; }
.footer__logo span { display: block; font-size: 22px; color: var(--grey-light); }

.footer h2 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer a { color: var(--grey-light); }
.footer a:hover { color: var(--white); }

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }

.footer__meta {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--grey-on-dark);
}

/* --------------------------------------------------------- inner pages -- */

.page-head {
  background: var(--charcoal);
  color: var(--white);
  padding: calc(var(--header-h) + 92px) 0 92px;
}

.page-head .eyebrow { color: rgba(255,255,255,.55); }

.page-head h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  max-width: 900px;
  margin: 0;
}

.article { padding: 84px 0 100px; }

.article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
}

.article__body p { margin-bottom: 1.6rem; }

.article__body p.first::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 62px;
  line-height: .84;
  padding: 6px 12px 0 0;
  color: var(--ink);
}

.article__body a { border-bottom: 1px solid var(--line); }
.article__body em { color: var(--ink); }

.article__body ul { padding-left: 20px; }
.article__body li { margin-bottom: .6rem; }

.article__note {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--grey-ultra);
  border-left: 2px dotted rgba(42,47,53,.4);
  font-size: 15px;
  color: var(--body);
}

.back-link {
  display: inline-block;
  margin-top: 56px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.back-link:hover { color: var(--ink); }

/* ------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media { animation: none; }
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 320px; }
  .split__body { padding: 68px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(10,20,32,.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; }

  .nav ul { flex-direction: column; gap: 26px; }
  .nav a { font-size: 16px; letter-spacing: .22em; }

  .section { padding: 78px 0; }
  .section-title { font-size: 32px; }
  .lead { font-size: 25px; }

  .media-band__panel { padding: 40px 28px 44px; }
  .media-item { padding: 30px 0; }
  .media-item:first-child { padding-top: 0; }
  .media-item + .media-item {
    border-left: 0;
    border-top: 2px dotted rgba(255,255,255,.4);
  }

  .footer__grid { grid-template-columns: 1fr; }
  .article__body { font-size: 16px; }
  .page-head { padding: calc(var(--header-h) + 60px) 0 60px; }
}

@media (max-width: 520px) {
  .wrap, .header__inner { padding: 0 22px; }
  .service { padding: 36px 28px; }
  .hero__tagline { word-spacing: .8rem; }
}
