/*
Theme Name: Ferrous Phoenix Investments
Theme URI: https://www.ferrousphoenix.com
Author: Ferrous Phoenix Investments
Description: A custom business website theme for Ferrous Phoenix Investments Pty Ltd.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: ferrous-phoenix
*/

:root {
  --ink: #071c28;
  --ink-soft: #123447;
  --paper: #fbf7ee;
  --paper-soft: #fffaf0;
  --gold: #f5b735;
  --amber: #f58220;
  --flame: #ef2b2d;
  --brick: #9e1f25;
  --line: rgba(7, 28, 40, 0.16);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 28, 40, 0.14);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 28, 40, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-name strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--flame);
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 28, 40, 0.98), rgba(7, 28, 40, 0.86) 48%, rgba(7, 28, 40, 0.42)),
    url("assets/hero-advisory.png") center right / cover no-repeat,
    var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 82px);
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: var(--white);
}

.hero-mark {
  justify-self: center;
  width: min(420px, 82vw);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 28, 40, 0.72);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.24));
}

.image-panel {
  min-height: 460px;
  border-radius: 8px;
  background: url("assets/hero-advisory.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.section {
  padding: 88px 0;
  scroll-margin-top: 92px;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section.gold-band {
  background: linear-gradient(135deg, #f7bd3a, #f58022 58%, #ef2b2d);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.visual-card {
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-card,
.proof-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
}

.service-card h3,
.proof-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p,
.proof-card p {
  margin: 0;
  color: #37505c;
}

.dark .service-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.dark .service-card h3 {
  color: var(--gold);
}

.dark .service-card p {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.statement {
  padding: 34px;
  border-left: 6px solid var(--flame);
  background: var(--white);
  box-shadow: var(--shadow);
}

.statement p {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
}

.contact-panel a {
  color: var(--ink);
  font-weight: 800;
}

.contact-panel .contact-form {
  grid-column: 1 / -1;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .full,
.contact-form button,
.form-message {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 28, 40, 0.24);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(245, 183, 53, 0.42);
  border-color: var(--ink);
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-weight: 800;
}

.form-message.success {
  background: #e9f7ec;
  color: #125a25;
}

.form-message.error {
  background: #fdecec;
  color: #8c1515;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #04131c;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  padding: 76px 0 56px;
  color: var(--white);
  background: var(--ink);
}

.page-content {
  padding: 72px 0;
}

.page-content p {
  max-width: 820px;
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .hero-inner,
  .split,
  .contact-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    padding: 14px 0;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0;
  }

  .hero-mark {
    width: min(300px, 72vw);
  }

  .grid.three,
  .grid.two,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 48px;
  }

  .brand-name strong {
    font-size: 18px;
  }

  .brand-name span {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .section {
    padding: 60px 0;
  }
}
