/* Steve Canfield profile site — responsive, no framework required */
:root {
  --navy: #082c50;
  --blue: #0879d9;
  --cyan: #13b8ed;
  --orange: #ff790d;
  --ink: #123456;
  --muted: #51677e;
  --pale: #eaf5ff;
  --line: #d5e6f5;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; background: #fff; }
a { color: var(--blue); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.hero { position: relative; overflow: hidden; color: white; background: var(--navy) url("assets/robotics-banner.jpg") center/cover no-repeat; min-height: 450px; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,25,45,.97) 0%, rgba(5,39,70,.92) 45%, rgba(3,30,55,.58) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1160px; min-height: 450px; margin: auto; padding: 44px 28px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 10px; font-size: .86rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #c8eaff; }
h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; }
.role { margin: 8px 0 4px; color: var(--cyan); font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 800; }
.affiliations { margin: 8px 0 18px; font-weight: 650; }
.affiliations span { color: var(--cyan); padding: 0 8px; }
.tagline { max-width: 440px; margin: 0 0 24px; font-size: 1.22rem; font-style: italic; color: #f0f7ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #001b3344; }
.button-orange { background: var(--orange); color: #fff; }
.button-outline { border: 1px solid #c7e6ff99; color: #fff; background: #ffffff12; }
.hero-photo-wrap { align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.hero-photo { width: min(100%, 390px); height: 330px; object-fit: cover; object-position: 50% 28%; border: 5px solid #ffffff22; border-radius: 26px; box-shadow: 0 22px 55px #00172d66; }
.section { padding: 64px max(24px, calc((100% - 1100px) / 2)); }
.section-heading { margin-bottom: 26px; }
.eyebrow.blue { color: var(--blue); }
h2 { margin: 0 0 10px; color: var(--navy); font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px; }
.about-grid p { margin: 0 0 15px; }
.handwritten { color: var(--blue); font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 1.2rem; font-style: italic; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 150px; gap: 10px; }
.photo-grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 12px; }
.photo-grid img:first-child { grid-row: span 2; }
.what-i-do { background: linear-gradient(145deg, #e7f4ff, #f4faff); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 24px #16456b0a; }
.card-icon { color: var(--blue); font-size: 2.1rem; line-height: 1.2; }
.info-card h3 { margin: 12px 0 3px; color: var(--navy); font-size: 1.22rem; }
.card-subtitle { margin: 0 0 16px; color: var(--blue); font-size: .88rem; font-weight: 750; }
.info-card p:not(.card-subtitle) { color: var(--muted); }
.info-card a { display: inline-block; margin-top: 6px; font-weight: 800; }
.links-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: start; }
.link-list { display: grid; gap: 12px; }
.link-tile { display: flex; align-items: center; gap: 15px; min-height: 86px; padding: 17px 20px; border-radius: 14px; color: #fff; box-shadow: 0 7px 20px #092c5018; }
.link-tile span:nth-child(2) { flex: 1; }
.link-tile strong, .link-tile small { display: block; }
.link-tile small { opacity: .83; margin-top: 3px; }
.tile-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #ffffff25; font-size: 1.55rem; font-weight: 900; }
.arrow { font-size: 1.5rem; }
.robotics { background: linear-gradient(100deg, #063c68, #061f3a); }
.kids { background: linear-gradient(100deg, #3f7518, #1d4b10); }
.tntech { background: linear-gradient(100deg, #5833b8, #2f1b75); }
.connect-section { background: #f7fbff; }
.connect-section .section-heading > p:last-child { max-width: 620px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 14px 18px; border-radius: 14px; color: white; }
.contact-card > span:first-child { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: #ffffff25; font-size: 1.3rem; font-weight: 900; }
.contact-card strong, .contact-card small { display: block; overflow-wrap: anywhere; }
.contact-card small { opacity: .9; font-size: .84rem; }
.phone { background: #0da766; }
.email { background: #0879d9; }
.email-purple { background: #49308e; }
.linkedin { background: #086ca8; }
.facebook { background: #1769d2; }
.footer { color: #fff; background: var(--navy) url("assets/mountain-footer.jpg") center/cover no-repeat; }
.footer-content { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 48px max(24px, calc((100% - 1100px) / 2)); background: linear-gradient(90deg, #06294beF, #06294b9c); }
.footer h2 { max-width: 540px; color: white; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.footer .eyebrow { color: #b8e5ff; }
.footer-cta { max-width: 300px; }
.footer-cta .handwritten { color: white; }
.copyright { margin: 0; padding: 15px 24px; text-align: center; background: #041d35; font-size: .82rem; color: #c4d8e9; }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 22px; }
  .hero-photo-wrap { min-height: auto; justify-content: flex-start; }
  .hero-photo { width: min(100%, 340px); height: 235px; object-position: 50% 25%; }
  .section { padding: 46px 22px; }
  .about-grid, .links-section { grid-template-columns: 1fr; gap: 24px; }
  .photo-grid { grid-template-rows: 160px 130px; }
  .cards { grid-template-columns: 1fr; }
  .info-card { padding: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; align-items: flex-start; padding: 38px 22px; }
}
@media (max-width: 390px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .photo-grid { grid-template-rows: 135px 105px; gap: 7px; }
  .link-tile { padding: 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
