@charset "UTF-8";
/* Max Andrews Web Design — site styles */

   :root{
  --bg: #ffffff;
  --text: #0b0f19;
  --muted: #666;
  --line: #e5e7eb;
  --accent: #ff7a00;
  --blue: #0078ff;
  --radius: 8px;
  --icon-bg: rgba(255,122,0,.12);
  --header-h: 80px;           /* desktop header height for scroll offset */
}

    /* Base reset */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
	html {
  scroll-behavior: smooth;                   /* smooth movement */
  scroll-padding-top: calc(var(--header-h) + 12px); /* start a touch below the header */
  scrollbar-gutter: stable both-edges;
}

/* If your header is shorter on mobile, update the offset */
@media (max-width: 960px){
  :root { --header-h: 60px; }               /* set to your mobile header height */
}

    body{
      font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      font-weight: 300;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }
    img{ max-width:100%; height:auto; display:block; }
    a{ color: var(--accent); text-decoration: none; }
    a:hover{ text-decoration: underline; }
	
	.back-to-top{
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 50;

  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s, background .2s ease, filter .2s ease;

  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.back-to-top:hover{ filter: brightness(0.95); }
.back-to-top:focus{
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255,122,0,.35);
}
.back-to-top.is-visible{
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

/* Slightly smaller on small screens */
@media (max-width: 560px){
  .back-to-top{ width: 44px; height: 44px; right: 12px; bottom: 12px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition: none; }
}


.section-divider {
  border: 0;
  height: 5px;
  width: min(66vw, 800px);
  margin: 40px auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 122, 0, 0.9),
    var(--accent),
    rgba(255, 122, 0, 0.9),
    transparent
  );
  border-radius: 3px;
  opacity: 1;
  /* 💡 More noticeable dual shadow */
  box-shadow:
    0 3px 8px rgba(255, 122, 0, 0.25),   /* warm shadow below */
    0 -3px 8px rgba(255, 122, 0, 0.15);  /* soft glow above */
}



	h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em; /* matches logo */
}
h1, h2, h3, h4, h5, h6, .brand {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}


    /* Layout (edgeless feel) */
    .container{ width: min(1200px, 92vw); margin: 0 auto; }
    /* Global section spacing (excludes hero) */
	section:not(.hero) { padding: clamp(28px, 6vw, 76px) 0; }

    .section-heading{
      font-weight: 500;
      font-size: clamp(28px, 4vw, 40px);
      margin: 0 0 10px 0;
      letter-spacing: -0.02em;
    }
    
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;          /* slightly stronger text */
  letter-spacing: -0.005em;  /* subtle tightening for polish */
  margin: 0 0 28px 0;        /* balanced breathing space */
  max-width: 65ch;
  line-height: 1.55;
}

/* Fix centring of section-sub text on tablet portrait */
@media (min-width: 560px) and (max-width: 900px) {
  .section-sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px; /* keeps it visually balanced */
  }
}

    /* Header / Nav */
  header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid #e5e7eb; /* ← direct colour here */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); /* soft, natural shadow */
}

    .nav{ display: flex; align-items: center; justify-content: space-between; height: 80px; }
	
.brand {
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  height: 44px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.25s ease; /* smoother fade */
}

.brand:hover {
  opacity: 0.7; /* stronger and more noticeable fade */
  text-decoration: none;
}

.brand .accent {
  color: var(--accent); /* orange */
  font-weight: 700;
}




    nav ul{ display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; }
	
nav a {
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 8px;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease; /* smooth colour fade */
}

/* Orange hover effect for all normal nav links (not the CTA) */
nav a:not(.cta):hover {
  color: var(--accent);
  opacity: 0.9;
  text-decoration: none;
}

/* --- Active nav link state --- */
nav a.active {
  color: var(--accent);     /* same orange as hover */
  font-weight: 600;         /* a touch bolder for emphasis */
}
	
    .cta{
      display: inline-flex; align-items: center; justify-content: center;
      gap: 8px; height: 44px; padding: 0 14px;
      border: 1px solid var(--accent);
      background: transparent; color: var(--accent);
      font-weight: 500; border-radius: var(--radius);
      transition: background .2s ease, color .2s ease, filter .2s ease;
    }
    .cta:hover{ background: var(--accent); color:#fff; }
	
	/* Normalise all link+icon alignments */
a.cta,
a.mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;               /* space between icon and text */
  text-decoration: none;
}

/* Ensure icons are vertically centred and don't stretch the line */
a.cta i,
a.mobile-link i {
  display: inline-block;
  font-size: 0.95em;      /* keep icon proportional to text */
  line-height: 1;
  vertical-align: middle;
}

	
	/* --- Mobile menu base --- */
.menu-toggle{
  display: none;
  height: 44px;
  width: 44px;
  position: relative;                 /* so inner icons can overlap */
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

/* base icon styling */
.menu-toggle i{
  font-size: 18px;
  line-height: 0;
}

/* two stacked icon wrappers */
.menu-toggle .icon-bars,
.menu-toggle .icon-close{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* default: show burger, hide X */
.menu-toggle .icon-bars{
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.menu-toggle .icon-close{
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
}

/* when menu is open (header gets .is-open) – fade to X */
header.is-open .menu-toggle .icon-bars{
  opacity: 0;
  transform: scale(0.8) rotate(10deg);
}
header.is-open .menu-toggle .icon-close{
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* focus ring unchanged */
.menu-toggle:focus{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* Desktop nav unchanged */
nav ul{
  display: flex; align-items: center; gap: 16px;
  list-style: none; margin: 0; padding: 0;
}

/* Mobile panel (hidden by default) */
.mobile-panel{
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.mobile-panel nav ul{
  display: grid;
  gap: 2px;
  list-style: none; padding: 10px; margin: 0;
}
.mobile-panel a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;                 /* makes the whole line clickable */
  padding: 14px 12px;
  color: var(--text);
  border-radius: 6px;
  text-decoration: none;
}
.mobile-panel a:hover {
  color: var(--accent);              /* orange hover text */
  background: #fff8f2;               /* subtle orange-tinted background */
  text-decoration: none;             /* no underline */
  transition: color 0.25s ease, background 0.25s ease; /* smooth fade */
}

/* Mobile menu: no icons, so tighten spacing */
.mobile-panel a {
  gap: 0;
}

/* --- Responsive behaviour --- */
@media (max-width: 960px){
  /* widen header is already handled; now swap to hamburger */
  nav#site-nav{ display: none; }        /* hide desktop nav */
  .menu-toggle{ display: inline-flex; } /* show hamburger */

  /* when menu is open -> show panel */
  header.is-open .mobile-panel[hidden]{ display: block; } /* override hidden */
  header.is-open .mobile-panel{ display: block; }
}

/* Align mobile/tablet dropdown links with logo area */
@media (min-width: 560px) and (max-width: 960px) {
  .mobile-panel nav ul {
    padding-left: 23px;    /* aligns dropdown links with brand left edge */
    padding-right: 14px;   /* keeps symmetry */
  }
}

/* Small tweaks for hero on mobile (already good, but ensure spacing) */
@media (max-width: 560px){
  .hero { padding: clamp(48px, 8vw, 88px) 0; }
  .hero-actions a{ width: 100%; justify-content: center; }
}

    /* HERO — split layout */
    .hero { padding: clamp(54px, 7vw, 100px) 0; }
	
    .hero-grid{
      display: grid; gap: 32px;
      grid-template-columns: 1.1fr 0.9fr; align-items: center;
    }
    .eyebrow{
      color: var(--muted); font-weight: 400; text-transform: uppercase;
      letter-spacing: 0.15em; font-size: 0.8rem;
    }
 .hero h1 {
  color: var(--text);               /* ensure consistent tone */
  font-weight: 600;                 /* slightly bolder, more confident */
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.05;
  margin: 6px 0 2px 0;  			/* tighter space below the name */
  letter-spacing: -0.025em;         /* matches logo's tighter tracking */
  padding: 0;
  text-indent: 0;
  margin-left: 0;                   /* perfect left alignment */
}
.hero h1 .accent {
  color: var(--accent);
  font-weight: 700;                 /* same boldness as logo's orange */
}
.hero .container {
  padding-left: 0;
}

	.hero-copy { max-width: 600px; }

.hero .tagline {
  font-weight: 500;              /* bold */
  font-size: clamp(18px, 2.4vw, 22px);
  color: #000;                   /* solid black */
  margin-top: 0px;               /* closer to the h1 on desktop/tablet */
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  opacity: 1;                    /* ensure fully solid */
}

    .hero-note {
  font-weight: 400;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.7;          /* 👈 improves readability on two-line format */
  font-size: 1.02rem;        /* subtle increase for balance with tagline */
  letter-spacing: -0.01em;   /* visually smoother word spacing */
  opacity: 0.85;             /* slightly softer tone under the tagline */
}

/* Hide forced <br> in hero-note on mobile */
@media (max-width: 560px){
  .hero-note br {
    display: none;
  }
  .hero .tagline {
    margin-top: 6px;   /* gives extra space under the h1 on mobile */
  }
}
	
    .hero-actions{ display:flex; gap:12px; flex-wrap: wrap; }

    /* hero visual (right side) */
    .hero-visual{
      display: grid; place-items: center;
      padding: 8px;
    }
	
 /* hero visual (right side) — no cropping, scales nicely */
.hero-visual{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.hero-visual img{
  width: clamp(280px, 42vw, 520px);  /* responsive width */
  height: auto;                      /* keep proportions */
  object-fit: contain;               /* never crop */
  object-position: center;           /* center the artwork */
  max-height: min(60vh, 560px);      /* prevents super-tall images on short screens */
}

/* Old indent fix – now relaxed so centring can work */
.hero .hero-copy,
.hero .hero-copy > * {
  padding-left: 0;
  text-indent: 0;
  /* no margin-left, no !important */
}


/* Safety: remove any decorative pseudo before H1 */
.hero h1::before { content: none !important; }
.hero .container { padding-left: 0 !important; }

/* Visual nudge so the H1 kisses the same left edge as other lines */
:root { --h1-nudge: -3px; }        /* tweak to taste: -1px to -3px usually perfect */

.hero h1{
  transform: translateX(var(--h1-nudge));
  letter-spacing: -0.025em;        /* match your global headings spacing */
}

/* remove temporary debug */
.hero h1 { outline: none !important; }
.hero .container { outline: none !important; }


    /* Buttons — unified across <a> and <button> */
    i[class^="fa-"], i[class*=" fa-"]{ line-height: 0; display: inline-flex; align-items: center; }
    a.btn, button.btn,
    a.btn-accent, button.btn-accent{
      display: inline-flex; align-items: center; justify-content: center;
      gap: 8px; padding: 12px 16px; line-height: 1;
      font-size: 1rem; border-radius: var(--radius);
      box-shadow: none; text-decoration: none; cursor: pointer;
    }
    a.btn, button.btn{
      border: 1px solid var(--text);
      background: transparent; color: var(--text);
      font-weight: 400; transition: background .2s, color .2s, filter .2s;
    }
    a.btn:hover, button.btn:hover{ background: var(--text); color:#fff; }
    a.btn-accent, button.btn-accent{
      border: 1px solid var(--accent);
      background: var(--accent); color:#fff; font-weight: 500;
      transition: filter .2s ease;
    }
    a.btn-accent:hover, button.btn-accent:hover{ filter: brightness(0.95); }
    .hero-actions .btn, .hero-actions .btn-accent{ min-height: 44px; }

    /* FEATURES — HH style with breathing room & subtle depth */

    .features-grid{
      display:grid;
      grid-template-columns: repeat(4, minmax(0,1fr));
      gap: 28px;
    }
   .feature{
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  gap: 14px; min-height: 210px;
}

.features-grid .feature {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.features-grid .feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10) !important;
}
	
    /* FEATURES — updated icon styling */
.feature .icon-wrap {
  background: none;        /* remove orange circle */
  width: auto;
  height: auto;
  margin-top: 4px;
  margin-bottom: 6px;
}

.feature i {
  font-size: 40px;         /* larger icon */
  color: var(--accent);    /* keep your orange */
  line-height: 1;
}

/* PROCESS */
.process { padding: clamp(48px, 8vw, 96px) 0; }

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

.step{
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.process-grid .step {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.process-grid .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10) !important;
}

/* Process step numbers — black circle with white number */
.step .num {
  position: absolute;
  top: 12px;
  left: 12px;

  width: 30px;
  height: 30px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #444;    /* solid black circle */
  color: #f8f8f8;         /* white number */
  font-weight: 600;
  font-size: 0.95rem;
}


/* PROCESS — updated icon styling */
.step .icon-wrap {
  background: none;       /* remove faint orange circle */
  width: auto;
  height: auto;
  margin-top: 4px;
  margin-bottom: 6px;
}

.step i {
  font-size: 38px;        /* larger icon */
  color: var(--accent);
  line-height: 1;
}

.process-cta{
  margin-top: 28px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 960px){
  .process-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
}
@media (max-width: 560px){
  .process-grid{ grid-template-columns: 1fr; gap: 18px; }
  .process-cta a{ width: 100%; justify-content: center; }
}


    /* About */
    
 .about {
  padding: clamp(48px, 8vw, 96px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.about-copy p {
  margin: 0 0 14px 0;
  max-width: 65ch;
  color: var(--text);
}

.about-photo {
  display: grid;
  place-items: center;
}

.photo-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;        /* circular frame */
  border: none;
  overflow: hidden;
  background: #fff;          /* flat background */
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 961px) {
  .about-photo {
    position: relative;
    top: 30px;   /* 👈 moves the photo down */
  }
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .photo-frame {
    max-width: 520px;
  }
}

/* Haggle Hero link styling in the About section */
.about-copy a {
  color: var(--accent);       /* your orange theme colour */
  font-weight: 600;           /* bold for emphasis */
  text-decoration: underline; /* visible underline by default */
  text-underline-offset: 2px; /* gives a modern look */
}

.about-copy a:hover {
  text-decoration: none;      /* remove underline on hover */
  color: #e86f00;             /* slightly darker orange for feedback */
}

/* === Featured Project: Haggle Hero ===================== */

.project {
  padding: clamp(48px, 8vw, 96px) 0;
}

/* Muted second part of section headings (Case Study, Features, etc.) */
.section-heading .muted-heading {
  color: var(--muted);
  font-weight: 400;              /* slightly softer than the main title */
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

/* Increase spacing between text and imagery on desktop */
@media (min-width: 961px) {
  .project-grid {
    gap: 42px;   /* was 32px — now +10px breathing room */
  }
}


.project-copy p {
  margin: 0 0 14px 0;
  max-width: 65ch;
  color: var(--text);
}

.project-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 10px;
}

.project-meta {
  font-size: 1rem !important;
}

.project-meta strong {
  font-weight: 500;
}

.project-tags {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;   /* increased from 16px → 24px */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags li {
  display: inline-flex;                /* keeps icon + text together */
  align-items: center;
  gap: 6px;                            /* space between tick and text */
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 6px 10px;
  border: 2px solid #000;   /* 👈 solid black border */
  background: #fff;
}

.project-tags li i {
  font-size: 0.8rem;
  color: #19a74a;                      /* green tick */
  flex-shrink: 0;                      /* don't let it collapse on small screens */
}

/* Haggle Hero link inside project text */
.project-copy a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-copy a:hover {
  text-decoration: none;
  color: #e86f00;
}

/* Mocked device stack (desktop + mobile) */
.project-visual {
  display: flex;
  justify-content: center;
}

.device-stack {
  position: relative;
  display: inline-block;
  max-width: 480px;
}

/* "Laptop" frame */
.laptop-frame {
  background: #0b0f19;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.laptop-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* "Phone" overlay */
.phone-frame {
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 32%;
  background: #0b0f19;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Case Study CTA buttons */
.case-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.case-cta a.btn,
.case-cta a.btn-accent {
  min-width: 180px;
  justify-content: center;
}

/* Case Study CTA – stack buttons on smaller screens */
@media (max-width: 560px) {
  .case-cta {
    flex-direction: column;
    align-items: stretch;   /* makes buttons full width instead of centred */
  }

  .case-cta a.btn,
  .case-cta a.btn-accent {
    width: 100%;            /* full-width buttons */
    justify-content: center;
  }
}

/* Make case-study buttons respect the same width as .container */
.case-study > .case-cta {
  width: min(1200px, 92vw);  /* same as .container */
  margin: 34px auto 0;       /* keep top gap, centre horizontally */
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-visual {
    order: -1;              /* image above text on tablets/mobiles */
  }

  .device-stack {
    max-width: 420px;
  }
  
  .project-copy {
    text-align: center;
  }

  .project-copy p,
  .project-meta {
    margin-left: auto;
    margin-right: auto;
  }

  .project-tags {
    justify-content: center;
  }
}

/* Extra breathing room above Case Study text on tablets */
@media (max-width: 960px) {
  .project-copy {
    margin-top: 28px;   /* tweak up/down to taste: 24–32px */
  }
}

@media (max-width: 560px) {
  .phone-frame {
    position: static;
    width: 52%;
    margin: 14px auto 0;
    display: block;
  }

  .device-stack {
    text-align: center;
  }
}

/* More breathing room between image and heading on mobile */
@media (max-width: 560px) {
  #project .section-heading,
  #case-study .section-heading,
  .project .section-heading {
    margin-top: 24px;  /* was likely 0–10px */
  }
}


    /* Contact */
	
	#contact .section-sub {
  text-align: left !important;
  margin-left: 0 !important;
}

	
    .form{ display: grid; gap: 14px; max-width: 720px; }
    .row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    label{ font-weight:400; font-size:0.95rem; }
    input,
textarea {
  width: 100%;
  border: 1.4px solid #c7c7c7;   /* stronger than var(--line) but still soft */
  padding: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
    textarea{ min-height: 140px; resize: vertical; }
   input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent); /* clean orange highlight */
  box-shadow: 0 0 0 2px rgba(255,122,0,0.25); /* soft glow, optional */
}
    button{ font: inherit; appearance: none; -webkit-appearance: none; }
	
	.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.success {
  color: #15803d; /* green-ish */
}

.form-status.error {
  color: #b91c1c; /* red-ish */
}	
	
/* Contact 2-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* form | icon */
  gap: 40px;
  align-items: center; /* 👈 centers icon with form */
}

/* Icon styling */
.contact-visual-icon {
  display: flex;
  justify-content: center;
  align-items: center;  /* 👈 vertically centers inside its grid cell */
  padding-top: 20px;
}

.contact-visual-icon i {
  font-size: clamp(90px, 14vw, 150px);
  color: var(--accent);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-visual-icon {
    margin-top: 24px;
    margin-bottom: 40px;  /* 👈 plenty of breathing room now */
    justify-content: center;
  }

  .contact-visual-icon i {
    font-size: clamp(72px, 22vw, 110px);
  }
}

@media (max-width: 900px) {
  #contact {
    padding-bottom: 60px;   /* 👈 gives the whole section extra depth */
  }
}

    /* Footer */
    footer {
  background: #f7f7f7;              /* soft neutral grey */
  border-top: 1px solid var(--line); /* keeps consistency with site borders */
  padding: 28px 0;
  color: var(--muted);              /* softer text tone */
  font-size: 0.95rem;
  text-align: center;               /* centres text nicely */
}


footer strong {
  font-weight: 600;         /* makes it visibly bolder */
  color: var(--text);       /* ensures it uses your main text colour (#0b0f19) */
}

/* --- Footer links styling --- */
.footer-links {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 500;              /* adds subtle weight */
  color: var(--text);
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);          /* orange hover */
  opacity: 0.9;
}

.footer-links .divider {
  margin: 0 12px;
  color: #ccc;
  font-weight: 500;           /* a touch bolder for clarity */
}


footer .social-icons {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

footer .social-icons a,
footer .social-icons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

footer .social-icons a:hover,
footer .social-icons button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

footer .social-icons button {
  border: 1px solid var(--line);
  background: #fff;
}

footer .built-by {
  margin-top: 24px;     /* more breathing room above */
  margin-bottom: 8px;   /* tighter above the copyright */
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}


footer .copyright {
  margin: 20px 0 0;   /* ↑ adds breathing room above only */
  font-size: 0.94rem;
  color: var(--muted);
}

/* --- Modals --- */
.modal-overlay[hidden] { display: none !important; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.4);
  padding: 20px;                /* breathing room on small screens */
}

.modal {
  width: min(720px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
  position: relative;
  padding: 22px 22px 10px;
}

.modal-title {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.modal-body {
  max-height: min(60vh, 520px);
  overflow: auto;
  padding-right: 4px;           /* tiny buffer for native scrollbar */
  color: var(--text);
}

.modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}


    /* Responsive */
    @media (max-width: 960px){
      .hero-grid{ grid-template-columns: 1fr; }
      .hero-visual .frame{ aspect-ratio: 16 / 10; }
      .features-grid{ grid-template-columns: repeat(2,1fr); gap: 24px; }
      .about-grid{ grid-template-columns: 1fr; }
    }
    @media (max-width: 560px){
      .features-grid{ grid-template-columns: 1fr; gap: 18px; }
      .row{ grid-template-columns: 1fr; }
      .nav{ height: 60px; }
      nav ul{ gap: 12px; }
    }
	
/* =========================================================
   TABLETS (portrait) + MOBILES — centre hero & about nicely
   ========================================================= */
@media (max-width: 960px) {

  /* HERO: stacked layout, centre the text block and contents */
  .hero-grid {
    grid-template-columns: 1fr;   /* ensure single column */
    text-align: center;
  }

  .hero-copy {
    max-width: 640px;
    margin: 0 auto 24px;          /* centres the block itself */
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  /* General headings / section text */
  .section-heading,
  .section-sub,
  .about-copy p,
  .process h3,
  .feature h3 {
    text-align: center;
  }

  /* ABOUT: stack and centre the text block + image */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-copy {
    max-width: 640px;
    margin: 0 auto 16px;          /* centres the about text block */
  }

  .about-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  /* About photo – more sensible size on tablets */
  .about-photo .photo-frame {
    max-width: 280px;
  }
}

/* Keep contact section left-aligned on all screen sizes */
#contact .section-heading,
#contact .section-sub {
  text-align: left !important;
}


/* =========================================================
   SMALLER MOBILES — shrink the profile image a touch more
   ========================================================= */
@media (max-width: 560px) {
  .about-photo .photo-frame {
    max-width: 220px;
  }

  .process-cta a {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   HH-style typography for Features + Process
   =========================================== */

/* Card headings */
.features-grid .feature h3,
.process-grid .step h3 {
  font-size: 1.3rem;        /* slightly larger, like HH */
  font-weight: 600;
  color: #333;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;        /* tight gap down to the paragraph */
}

/* Card body text */
.features-grid .feature p,
.process-grid .step p {
  font-size: 1rem;
  font-weight: 400;         /* you said this matches HH visually */
  color: #666;
  line-height: 1.6;
  margin: 0;                /* h3 controls the vertical spacing above */
}

/* Remove extra flex gap so spacing is controlled by margins */
.features-grid .feature,
.process-grid .step {
  gap: 0;
}

/* Icon → heading breathing room */
.features-grid .feature .icon-wrap,
.process-grid .step .icon-wrap {
  margin-top: 4px;
  margin-bottom: 20px;      /* tweak 18–22px if you want more/less air */
}

/* Optional: make Process cards match HH-style more closely */
.step {
  border: none; /* or: border: 1px solid rgba(0,0,0,0.02); */
}

/* Extra top padding so icons sit lower in the card, like HH */
.features-grid .feature {
  padding-top: 46px;   /* was effectively 32px from the base .feature rule */
}

.process-grid .step {
  padding-top: 42px;   /* was 28px – small lift to match HH feel */
}

