/* Foxx & Flourish — copper, platinum and gunmetal */
:root {
  --bg:#101114;
  --bg-alt:#15171b;
  --panel:#1b1d22;
  --copper:#e68d50;
  --copper-light:#ffc298;
  --platinum:#f2f0ed;
  --muted:#bbbcc2;
  --line:#3e4149;
  --rail:92px;
  --expanded:260px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}

body {
  margin:0;
  background:var(--bg);
  color:var(--platinum);
  font-family:"Segoe UI",Arial,sans-serif;
  line-height:1.7
}

a {
  color:inherit
}

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

button {
  font:inherit
}

h1,h2,h3,p {
  margin-top:0
}

h2,h3 {
  line-height:1.2
}

h2 {
  font-family:Georgia,serif;
  font-weight:400;
  font-size:clamp(2rem,4vw,3rem);
  letter-spacing:-.025em;
  margin-bottom:20px
}

h3 {
  font-size:1.35rem
}

p {
  margin-bottom:1.1rem
}

p:last-child {
  margin-bottom:0
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--copper-light);
  outline-offset:5px
}

.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  top:10px;
  left:110px;
  z-index:100;
  padding:10px 16px;
  background:var(--platinum);
  color:var(--bg);
  transform:translateY(-180%)
}

.skip-link:focus {
  transform:none
}

.foxx-sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--rail);
  z-index:50;
  background:linear-gradient(110deg,#22252b,#101216);
  border-right:1px solid #7a5139;
  box-shadow:8px 0 32px #0005;
  transition:width .25s ease;
  overflow-x:hidden;
  overflow-y:auto
}

.foxx-sidebar:hover,.foxx-sidebar:focus-within,.foxx-sidebar.is-open {
  width:var(--expanded)
}

.menu-toggle {
  display:block;
  margin:15px auto 10px;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#181a1f;
  color:var(--copper-light);
  cursor:pointer;
  font-size:1.3rem
}

.sidebar-content {
  min-height:calc(100% - 80px);
  display:flex;
  flex-direction:column
}

.sidebar-brand {
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px 12px 24px
}

.sidebar-brand-mark {
  width:66px;
  height:66px;
  object-fit:contain;
  transition:width .25s,height .25s
}

.sidebar-brand-name {
  display:none;
  text-align:center;
  font-family:Georgia,serif;
  font-style:italic;
  font-size:1.75rem;
  line-height:1.1;
  margin-top:15px
}

.sidebar-brand-name span {
  display:block
}

.brand-ampersand {
  color:var(--copper);
  font-size:1.3rem;
  margin:5px 0
}

.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-brand-name {
  display:block
}

.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-brand-mark {
  width:96px;
  height:96px
}

.sidebar-nav {
  padding:0 12px
}

.sidebar-nav a {
  display:flex;
  align-items:center;
  gap:16px;
  height:55px;
  border-radius:8px;
  text-decoration:none;
  margin-bottom:7px;
  border:1px solid transparent;
  white-space:nowrap
}

.sidebar-icon {
  flex:0 0 66px;
  text-align:center;
  font-size:1.4rem;
  color:var(--copper-light)
}

.sidebar-label {
  opacity:0;
  transition:opacity .2s
}

.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-label {
  opacity:1
}

.sidebar-nav a:hover,.sidebar-nav a.active {
  background:#e68d5012;
  border-color:#e68d504f
}

.sidebar-footer {
  margin-top:auto;
  padding:30px 10px;
  text-align:center;
  color:var(--muted);
  font-size:.8rem
}

.sidebar-footer-long {
  display:none
}

.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-footer-short {
  display:none
}

.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-footer-long {
  display:inline
}

.foxx-main,.foxx-footer {
  margin-left:var(--rail)
}

.foxx-hero {
  position:relative;
  min-height: min(900px,100svh);
  min-height:760px;
  display:flex;
  align-items:center;
  background:#101114 url("images/fox-hero1.png") right center/cover no-repeat;
  isolation:isolate
}

.hero-image-overlay {
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(12,13,16,.97) 0%,rgba(12,13,16,.86) 33%,rgba(12,13,16,.30) 72%,rgba(12,13,16,.15)),linear-gradient(0deg,var(--bg),transparent 28%)
}

.hero-content {
  width:min(780px,60%);
  padding:95px clamp(24px,5vw,80px)
}

.hero-kicker,.section-kicker {
  font-size:.78rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--copper-light);
  margin-bottom:22px
}

.hero-logo-wrap {
  margin:0 0 10px
}

.hero-logo-image {
  width:100%;
  height:auto
}

.hero-splash {
  font-family:Georgia,serif;
  font-size:clamp(1.5rem,2.8vw,2.2rem);
  font-style:italic;
  color:var(--copper-light);
  margin-bottom:25px
}

.hero-tagline {
  font-size:1.08rem;
  max-width:530px;
  color:#dedee2;
  line-height:1.85
}

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

.metal-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:6px;
  text-decoration:none;
  font-size:.95rem;
  font-weight:600;
  border:1px solid #a26b48;
  transition:transform .2s,background .2s
}

.metal-button:hover {
  transform:translateY(-2px)
}

.metal-button-primary {
  background:linear-gradient(135deg,#f4b17d,#d17c43);
  color:#17100b;
  box-shadow:inset 0 1px #ffffff60
}

.metal-button-secondary {
  background:#16181dcc;
  color:var(--platinum);
  border-color:#696a71
}

.metal-button-secondary:hover {
  background:#292c33
}

.foxx-section {
  padding:84px clamp(24px,5vw,80px);
  scroll-margin-top:20px
}

.foxx-section-alt {
  background:var(--bg-alt);
  border-block:1px solid #ffffff07
}

.section-shell {
  max-width:1220px;
  margin:auto
}

.section-heading {
  max-width:790px;
  margin-bottom:35px
}

.section-heading>p:not(.section-kicker) {
  color:var(--muted)
}

.section-kicker {
  margin-bottom:12px
}

.intro-layout {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:24px
}

.metal-panel {
  background:linear-gradient(135deg,#202329,#17191e);
  border:1px solid var(--line);
  border-top-color:#836047;
  border-radius:12px;
  padding:32px;
  box-shadow:inset 0 1px #ffffff04
}

.intro-copy p {
  color:#d0d0d6
}

.project-pulse h3 {
  color:var(--copper-light)
}

.project-pulse ul {
  margin:0;
  padding-left:20px;
  color:#d0d0d6
}

.project-pulse li {
  padding:5px 0
}

.project-pulse li::marker {
  color:var(--copper)
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}

.feature-card {
  display:block;
  padding:32px;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(145deg,#24272d,#17191e);
  position:relative;
  overflow:hidden;
  text-decoration:none
}

.feature-card p {
  color:#c1c2c9;
  font-size:.97rem
}

.feature-number {
  color:var(--copper);
  font-family:Georgia,serif;
  font-size:2.2rem;
  line-height:1;
  margin-bottom:32px
}

.feature-card h3 {
  margin-bottom:15px
}

.section-note {
  color:var(--muted);
  font-size:.92rem;
  max-width:860px;
  margin-top:28px
}

.project-category {
  display:block;
  color:var(--copper-light);
  font-size:.75rem;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin-bottom:25px
}

.project-card {
  display:flex;
  flex-direction:column
}

.project-card p {
  flex:1;
  margin-bottom:28px
}

.project-card[href] {
  transition:border-color .2s,transform .2s
}

.project-card[href]:hover {
  border-color:var(--copper);
  transform:translateY(-4px)
}

.card-link {
  color:var(--copper-light);
  font-size:.9rem
}

.card-caption {
  color:var(--muted);
  font-size:.85rem
}

.contact-layout {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:50px;
  align-items:center
}

.contact-layout .section-heading {
  margin:0
}

.contact-panel h3 {
  color:var(--copper-light)
}

.muted {
  color:var(--muted);
  font-size:.92rem
}

.foxx-footer {
  padding:28px clamp(24px,5vw,80px);
  border-top:1px solid var(--line)
}

.footer-inner {
  max-width:1220px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:var(--muted);
  font-size:.85rem
}

.footer-inner p {
  margin:0
}

.footer-inner p:last-child {
  color:var(--copper-light)
}

@media(min-width:1500px) {
  .foxx-hero {
    min-height:850px;
    background-size:auto 100%;
    background-color:#0e0e10
  }

  .hero-content {
    width:62%
  }

}

@media(max-width:1000px) {
  .hero-content {
    width:72%
  }

  .intro-layout,.contact-layout {
    grid-template-columns:1fr
  }

  .feature-grid {
    gap:15px
  }

  .feature-card {
    padding:25px
  }

  .foxx-hero {
    min-height:700px
  }

  .contact-layout {
    gap:25px
  }

}

@media(max-width:700px) {
  :root {
    --rail:0px;
    --expanded:270px
  }

  html {
    scroll-padding-top:82px
  }

  .foxx-sidebar {
    inset:0 0 auto;
    width:100%;
    height:66px;
    border-right:0;
    border-bottom:1px solid #7a5139;
    overflow:hidden;
    transition:height .25s
  }

  .foxx-sidebar:hover,.foxx-sidebar:focus-within {
    width:100%;
    height:66px
  }

  .foxx-sidebar.is-open {
    width:100%;
    height:100svh;
    overflow-y:auto
  }

  .menu-toggle {
    position:absolute;
    right:14px;
    top:11px;
    margin:0;
    z-index:2
  }

  .sidebar-brand {
    height:66px;
    flex-direction:row;
    justify-content:flex-start;
    gap:14px;
    padding:8px 18px;
    padding-right:75px
  }

  .sidebar-brand-mark,.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-brand-mark {
    width:45px;
    height:45px
  }

  .sidebar-brand-name,.foxx-sidebar:is(:hover,:focus-within,.is-open) .sidebar-brand-name {
    display:flex;
    gap:5px;
    margin:0;
    font-size:1.2rem
  }

  .brand-ampersand {
    margin:0;
    font-size:1.2rem
  }

  .sidebar-content {
    min-height:100%
  }

  .sidebar-nav {
    display:none;
    padding:25px 18px
  }

  .sidebar-footer {
    display:none
  }

  .is-open .sidebar-nav,.is-open .sidebar-footer {
    display:block
  }

  .sidebar-label {
    opacity:1
  }

  .sidebar-icon {
    flex-basis:44px
  }

  .foxx-main {
    padding-top:66px
  }

  .foxx-hero {
    min-height:740px;
    align-items:flex-end;
    background-position:65% top;
    background-size:auto 75%
  }

  .hero-image-overlay {
    background:linear-gradient(0deg,#101114 0%,#101114f5 35%,#10111475 65%,#10111420 100%)
  }

  .hero-content {
    width:100%;
    padding:300px 24px 52px
  }

  .hero-kicker {
    font-size:.7rem
  }

  .hero-logo-image {
    max-width:520px
  }

  .hero-tagline {
    font-size:1rem
  }

  .foxx-section {
    padding:55px 24px
  }

  .feature-grid {
    grid-template-columns:1fr
  }

  .metal-panel,.feature-card {
    padding:26px
  }

  .feature-number {
    margin-bottom:22px
  }

  .footer-inner {
    flex-direction:column;
    gap:5px
  }

  .skip-link {
    left:12px
  }

  .hero-actions .metal-button {
    flex:1;
    white-space:nowrap;
    padding:12px 15px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*::before,*::after {
    transition:none!important
  }

}
