/* ─── Nick Foran ─── */

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555555;
  --light: #999999;
  --line: #dddddd;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

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

/* ─── Fixed Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none !important;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  text-decoration: none;
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  right: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 6px;
  min-width: 160px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: #888;
  border-radius: 4px;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.03);
}

/* ─── Page Layout ─── */
.page-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

/* ─── Home: About + News side by side ─── */
.home-section {
  padding: 40px 0 32px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-col p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-col p:last-of-type {
  margin-bottom: 0;
}

/* ─── Contact line with minimal icons ─── */
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: 0.5;
}

.contact-line a:hover .icon {
  opacity: 0.8;
}

.dot {
  color: var(--light);
  font-size: 0.9rem;
  user-select: none;
}

.news-col h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.news-col ul {
  list-style: none;
}

.news-col li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.6;
}

.news-col li:last-child {
  border-bottom: none;
}

.news-col strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── Section headings with See all ─── */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading h2,
section h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.see-all {
  font-size: 0.82rem;
  color: var(--light);
  text-decoration: none;
}

.see-all:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ─── Research ─── */
.research {
  padding: 32px 0;
}

.research table {
  width: 100%;
  border-collapse: collapse;
}

.research tr {
  vertical-align: top;
}

.r-thumb {
  width: 160px;
  padding: 0 20px 28px 0;
}

.r-thumb img {
  max-width: 160px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.r-info {
  padding-bottom: 28px;
}

.r-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.r-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.r-meta strong {
  color: var(--text);
  font-weight: 500;
}

.r-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Previews (Home) ─── */
.media {
  padding: 24px 0;
}

.preview-row {
  display: flex;
  gap: 12px;
}

.preview-row img {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ─── Gallery Pages ─── */
.gallery {
  padding: 32px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ─── Footer ─── */
footer {
  max-width: 840px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
}

footer p,
footer a {
  font-size: 0.75rem;
  color: #bbb;
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .page-content {
    padding: 64px 20px 0;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .research tr,
  .research td {
    display: block;
  }

  .r-thumb {
    width: 100%;
    padding: 0 0 12px 0;
  }

  .r-thumb img {
    max-width: 100%;
  }

  .preview-row {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
