/* tips. — static rebuild of the WordPress/Astra site. Values measured from reference/blueprint.json.
   Breakpoints follow Astra: tablet <= 921px, mobile <= 544px. */

@font-face { font-family: Inter; src: url("/fonts/Inter-var.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/DMSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #14161e;
  --gold: #ffd740;
  --gold-dim: #7c712e;
  --grey: #ced4e0;
  --footer-link: #aba8b2;
  --navy: #0f172a;
  --hero: #434343;
  --white: #fff;
  --gutter: 40px;
  --max: 1200px;
  --section-pad: 100px;
  --font-body: Inter, sans-serif;
  --font-head: "DM Sans", sans-serif;
  --logo: url("/assets/tips-Logo-Design-1000-full_logo.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--gold); font: 400 16px/1.7 var(--font-body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
p { margin: 0 0 20px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--gold); }
h1 { font-size: 58px; }
h2 { font-size: 42px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--bg); padding: 8px 16px; z-index: 10; }
.skip-link:focus { left: 8px; color: var(--bg); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: var(--section-pad) 0; }
.rule { border: 0; border-top: 1px solid var(--grey); margin: 0; }
.rule-light { border-top-color: var(--white); }
.muted { color: var(--gold-dim); }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-35 { margin-bottom: 35px; }
.logo-cover { object-fit: cover; border-radius: 12px; }

/* Buttons */
.btn { display: inline-block; font: 600 16px/16px var(--font-body); padding: 17px 24px; border-radius: 6px; white-space: nowrap; cursor: pointer; border: 1px solid transparent; }
.btn-dark { background: var(--bg); color: var(--white); border-color: var(--bg); }
.btn-dark:hover, .btn-dark:focus-visible { border-color: var(--gold); color: var(--gold); }
.btn-outline { color: var(--gold-dim); border-color: var(--gold-dim); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--gold); border-color: var(--gold); }

/* Header */
.site-header { position: relative; z-index: 5; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 115px; padding: 25px 60px 0; }
.site-title { margin: 0; font: 600 22px/1.2 var(--font-head); }
.site-title a { color: var(--gold); }
.menu { display: flex; }
.menu-link { display: block; padding: 0 20px; font-weight: 500; line-height: 90px; color: var(--gold-dim); }
.menu-link[aria-current="page"], .menu-link:hover { color: var(--gold); }
.header-cta { justify-self: end; font: 600 16px/16px var(--font-body); padding: 16px 26px; border: 1px solid var(--gold); border-radius: 6px; background: var(--bg); color: var(--gold); white-space: nowrap; }
.menu-toggle { display: none; }

/* Footer */
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 87px; padding: 0 75px; font-size: 15px; }
.footer-menu { display: flex; }
.footer-link { display: block; padding-right: 30px; color: var(--footer-link); }
.footer-link[aria-current="page"], .footer-link:hover { color: var(--gold); }
.copyright { margin: 0; color: var(--gold); }

/* Page hero (inner pages) */
.page-hero { background: var(--hero); padding: 90px 0 120px; }
.page-hero-short { padding-bottom: 100px; }

/* Home */
.hero-logo { margin-top: 100px; display: flex; justify-content: center; }
.hero-logo img { width: min(848px, 100% - 2 * var(--gutter)); }
.hero-logo + .container .rule { margin: clamp(60px, 10.8vw, 155px) 0 clamp(60px, 10.7vw, 154px); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery + .container .rule { margin: clamp(60px, 11.7vw, 169px) 0 55px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.feature-num { font-size: 20px; font-weight: 600; color: var(--grey); }
.feature h3 { margin-bottom: 20px; }
.learn-more { color: var(--gold-dim); line-height: 16px; }
.intro { padding-bottom: 40px; }
.enhance-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin: 60px 0 24px; padding-top: 40px; border-top: 1px solid var(--grey); }
.intro h1 { margin-bottom: 10px; }
.lead { font-size: 18px; line-height: 1.6; margin-bottom: 30px; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.split-center { align-items: center; }
.split-body h2 { margin-bottom: 15px; }
.split-body h3 { margin: 30px 0 15px; }
.split-body p:last-child { margin-bottom: 0; }
.value-prop { gap: 70px; }
.split-media { width: 100%; height: 640px; }

/* About */
.statement { margin-bottom: 50px; }
.about-media { height: 400px; }
.band { background: var(--navy); padding: 60px 0; }
.band-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.band h3 { color: var(--white); }
.principles { align-items: start; }
.principle h3 { margin: 0 0 15px; }
.principle p { margin-bottom: 0; }
.principle + .principle { border-top: 1px solid var(--grey); margin-top: 25px; padding-top: 29px; }

/* Upgrade band (About, Offerings, Contact) */
.upgrade { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.upgrade-copy { background: var(--navy); display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px 50px 40px calc(max(var(--gutter), (100vw - var(--max)) / 2) + 40px); }
.upgrade-copy h2 { color: var(--white); margin-bottom: 10px; }
.upgrade-copy p { color: var(--white); margin-bottom: 30px; }
.upgrade::after { content: ""; background: var(--logo) center / 100% auto no-repeat; }

/* Offerings */
.offerings-intro { margin-bottom: 50px; }
.offerings-rule { margin-bottom: 60px; }
.offering { display: flex; gap: 45px; align-items: flex-start; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--grey); }
.offering:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.offering-media { flex: 0 0 360px; width: 360px; height: 300px; border-radius: 6px; }
.offering-title, .offering-points { flex: 1 1 0; }
.offering-title { margin-right: -15px; }
.offering-title h3 { margin-bottom: 42px; }
.offering-points li { margin-bottom: 10px; }

/* Contact */
.contact { gap: 80px; align-items: start; }
.contact-label { font-size: 20px; font-weight: 500; color: var(--gold-dim); margin-bottom: 15px; }
.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-form h3 { margin: 0 0 12px; }
.contact-form label { color: var(--gold-dim); font-size: 15px; margin-top: 12px; }
.req { color: #e00; }
.contact-form input, .contact-form textarea { width: 100%; font: 16px/1.7 var(--font-body); color: #333; background: #f9fafb; border: 1px solid #bdbdbd; border-radius: 6px; padding: 12px; }
.contact-form textarea { min-height: 135px; resize: vertical; }
.contact-form .cf-turnstile { margin-top: 16px; min-height: 65px; }
.contact-form .btn { align-self: flex-start; margin-top: 12px; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 27px; margin: 8px 0 0; }
.form-status.is-error { color: #ff8a80; }

/* Tablet */
@media (max-width: 921px) {
  :root { --gutter: 32px; --section-pad: 80px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .header-inner { grid-template-columns: 1fr auto; height: auto; min-height: 81px; padding: 16px var(--gutter); }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: 1px solid var(--gold-dim); border-radius: 4px; cursor: pointer; padding: 0; }
  .menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--gold); position: relative; content: ""; }
  .menu-toggle-bar::before { position: absolute; top: -6px; }
  .menu-toggle-bar::after { position: absolute; top: 6px; }
  .primary-nav { display: none; grid-column: 1 / -1; }
  .primary-nav.is-open { display: block; }
  .menu { flex-direction: column; padding: 8px 0; }
  .menu-link { padding: 0; line-height: 48px; }
  .page-hero { padding: 70px 0 100px; }
  .split-media { height: auto; aspect-ratio: 565 / 640; }
  .about-media { aspect-ratio: 327 / 340; }
  .upgrade { min-height: 400px; }
  .offering { flex-wrap: wrap; }
  .offering-media { flex-basis: 100%; width: 100%; max-width: 360px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 12px; padding: 30px var(--gutter); text-align: center; }
  .footer-menu { flex-wrap: wrap; justify-content: center; }
  .footer-link { padding: 0 10px 5px; }
}

/* Mobile */
@media (max-width: 544px) {
  :root { --gutter: 24px; --section-pad: 60px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  .site-title { font-size: 20px; }
  .hero-logo { margin-top: 40px; }
  .gallery { gap: 24px; }
  .features, .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .enhance-row, .band-row { flex-direction: column; align-items: flex-start; }
  .upgrade { grid-template-columns: 1fr; }
  .upgrade-copy { padding: 60px var(--gutter); }
  .upgrade::after { min-height: 300px; }
  .offering-title { margin-right: 0; }
  .offering-title h3 { margin-bottom: 12px; }
  .offering-points, .offering-title { flex-basis: 100%; }
}
