/* ============================================================
   remtheory.com — Rachel Murray
   Professional + warm: deep teal, terracotta, warm neutrals
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   ============================================================ */

:root {
  --teal:         #0d9488;
  --teal-dark:    #0f766e;
  --teal-deeper:  #134e4a;
  --teal-light:   #99f6e4;
  --teal-pale:    #f0fdfb;
  --orange:       #ea580c;
  --orange-light: #fff1e8;
  --orange-mid:   #fb923c;
  --green:        #16a34a;
  --bg:           #faf9f7;
  --bg-alt:       #f3f0eb;
  --white:        #ffffff;
  --text:         #1c1917;
  --text-mid:     #44403c;
  --text-light:   #78716c;
  --border:       #e7e3dc;
  --navy:         #0f2b35;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.07);
  --shadow:       0 4px 20px rgba(0,0,0,.09);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(250,249,247,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: -.3px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .2s;
}

.nav-links a:hover { color: var(--teal-dark); }

.nav-cta {
  background: var(--teal-dark);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  transition: background .2s !important;
}

.nav-cta:hover { background: var(--teal-deeper) !important; color: var(--white) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  letter-spacing: .1px;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(13,116,110,.3);
}
.btn-primary:hover { background: var(--teal-deeper); box-shadow: 0 4px 18px rgba(13,116,110,.4); }

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
}
.btn-ghost:hover { background: var(--teal-pale); }

.btn-outline-light {
  background: transparent;
  color: var(--teal-light);
  border: 2px solid rgba(153,246,228,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: var(--teal-light); }

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--teal-deeper) 0%, #0e3d48 40%, #1a4a5a 100%);
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal-light);
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero .btn-primary {
  background: var(--orange);
  box-shadow: 0 2px 12px rgba(234,88,12,.35);
}
.hero .btn-primary:hover { background: #c2410c; }

.hero-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .75rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  border-radius: 50px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrap {
  position: relative;
  width: 340px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── STRIP ── */
.strip {
  background: var(--teal-dark);
  padding: 1rem 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.strip-icon { font-size: 1rem; }

.strip-sep {
  color: rgba(255,255,255,.25);
  font-size: 1.2rem;
}

/* ── SHARED SECTION STYLES ── */
.section { padding: 6rem 0; }

.section-header {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal-dark);
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: .6rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  gap: .6rem;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.project-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--teal-pale), #e6fbf8);
  border-color: rgba(13,148,136,.2);
}

@media (max-width: 640px) {
  .project-featured { grid-column: span 1; }
}

.project-meta { display: flex; gap: .5rem; }

.project-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .25rem .7rem;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50px;
}

.tag-civic { background: #eff6ff; color: #2563eb; }
.tag-ig    { background: #f0fdf4; color: var(--green); }

.project-title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
}

.project-desc {
  font-size: .93rem;
  color: var(--text-light);
  flex: 1;
}

.project-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: .25rem;
}

/* ── HOW I BUILD ── */
.stack-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--teal-pale), #e6fbf8);
  border: 1px solid rgba(13,148,136,.18);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 760px) {
  .stack-callout { grid-template-columns: 1fr; gap: 1.75rem; }
}

.stack-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal-dark);
  margin-bottom: .4rem;
}

.stack-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .75rem;
}

.stack-desc {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 540px;
}

.stack-desc strong {
  color: var(--teal-dark);
}

.stack-right {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

.stack-tools-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

.stack-tools {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.stack-tool {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(13,148,136,.15);
  border-radius: 8px;
  padding: .4rem .85rem;
  white-space: nowrap;
}

.stack-tool-icon { font-size: 1rem; }

/* ── ABOUT ── */
.about-section { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 0 0 4px var(--white), 0 0 0 6px var(--teal-light);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-affiliations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.affil-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.affil-icon { font-size: 1.4rem; flex-shrink: 0; }

.affil-item div {
  display: flex;
  flex-direction: column;
}

.affil-item strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}

.affil-item span {
  font-size: .78rem;
  color: var(--text-light);
}

.about-right .section-title {
  margin-bottom: 1rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-right p {
  color: var(--text-mid);
  margin-bottom: .85rem;
  font-size: .97rem;
}

.about-right a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(13,148,136,.3);
  text-underline-offset: 2px;
  transition: color .2s, text-decoration-color .2s;
}

.about-right a:hover {
  color: var(--orange);
  text-decoration-color: rgba(234,88,12,.3);
}

/* ── BEYOND ── */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.beyond-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .2s, box-shadow .2s;
}

.beyond-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bc-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .3rem;
}

.bc-icon { font-size: 1.4rem; }

.bc-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

.beyond-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
}

.beyond-card p {
  font-size: .9rem;
  color: var(--text-light);
  flex: 1;
}

.bc-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: auto;
}

.bc-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  background: #f0fdf4;
  color: var(--green);
  border-radius: 50px;
  margin-top: auto;
  width: fit-content;
}

/* ── CONTACT ── */
.contact-section {
  background: linear-gradient(150deg, var(--teal-deeper) 0%, var(--navy) 100%);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: .75rem;
  margin-top: .5rem;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2rem;
}

.contact-form {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  color: var(--white);
  transition: border-color .2s, background .2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-light);
  background: rgba(255,255,255,.12);
}

.form-submit {
  align-self: flex-start;
}

.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 2.5rem 1rem;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.form-success-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.form-success h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
}

.form-success p {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
}

.contact-also {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--teal-light);
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}

.footer-links a:hover { color: var(--teal-light); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
  .nav-links li:not(:last-child) { display: none; }
  .strip-sep { display: none; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
