\documentclass[aspectratio=169,11pt]{beamer}

\usepackage{iftex}
\ifPDFTeX
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
  \usepackage{helvet}
  \renewcommand{\familydefault}{\sfdefault}
\else
  \usepackage{fontspec}
  \setsansfont{Arial}[
    Ligatures=TeX,
    Scale=MatchLowercase
  ]
\fi
\usepackage{graphicx}
\usepackage{tikz}

\definecolor{hicblue}{HTML}{0E5E7F}
\definecolor{hicdarkblue}{HTML}{083A5D}
\definecolor{hicturquoise}{HTML}{1595AE}
\definecolor{hiclightgray}{HTML}{F4F7F8}

\usetikzlibrary{calc}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{}
\setbeamerfont{frametitle}{size=\Large,series=\bfseries}
\setbeamerfont{title}{size=\fontsize{31}{37}\selectfont,series=\mdseries}
\setbeamerfont{subtitle}{size=\Large,series=\mdseries}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{frametitle}{fg=hicblue}
\setbeamercolor{structure}{fg=hicblue}
\setbeamercolor{itemize item}{fg=hicturquoise}
\setbeamercolor{itemize subitem}{fg=hicblue}

\newcommand{\HICTitleBackground}{assets/hic2026-title-background.png}
\newcommand{\HICHeaderBackground}{assets/hic2026-content-header.png}

\newcommand{\HICContentBackground}{%
  \begin{tikzpicture}[remember picture,overlay]
    \fill[white] (current page.south west) rectangle (current page.north east);
    \node[anchor=north west,inner sep=0pt] at (current page.north west) {%
      \includegraphics[width=\paperwidth]{\HICHeaderBackground}%
    };
  \end{tikzpicture}%
}

\setbeamertemplate{background}{\HICContentBackground}
\setbeamersize{text margin left=0.85cm,text margin right=0.85cm}

\setbeamertemplate{frametitle}{%
  \vspace{1.25cm}%
  \insertframetitle%
  \par\vspace{0.08cm}%
  {\color{hicturquoise}\rule{\linewidth}{0.6pt}}%
}

\newcommand{\HICTitleSlide}{%
  {%
    \setbeamertemplate{background}{%
      \begin{tikzpicture}[remember picture,overlay]
        \node[anchor=south west,inner sep=0pt] at (current page.south west) {%
          \includegraphics[width=\paperwidth,height=\paperheight]{\HICTitleBackground}%
        };
      \end{tikzpicture}%
    }%
    \begin{frame}[plain]
      \begin{tikzpicture}[remember picture,overlay]
        \node[
          anchor=west,
          align=left,
          text=white,
          text width=12.6cm,
          inner sep=0pt
        ] at ($(current page.south west)+(1.45cm,3.0cm)$) {%
          {\usebeamerfont{title}\inserttitle\par}%
          \vspace{0.16cm}%
          {\usebeamerfont{subtitle}\insertsubtitle\par}%
        };
        \node[
          anchor=west,
          align=left,
          text=white,
          text width=12.6cm,
          inner sep=0pt
        ] at ($(current page.south west)+(1.45cm,1.35cm)$) {%
          {\large\insertauthor\par}%
          {\normalsize\insertinstitute\par}%
        };
      \end{tikzpicture}
    \end{frame}
  }%
}

\newcommand{\HICSectionSlide}[1]{%
  {%
    \setbeamertemplate{background}{%
      \begin{tikzpicture}[remember picture,overlay]
        \node[anchor=south west,inner sep=0pt] at (current page.south west) {%
          \includegraphics[width=\paperwidth,height=\paperheight]{\HICTitleBackground}%
        };
        \fill[hicdarkblue,opacity=0.48] (current page.south west) rectangle (current page.north east);
      \end{tikzpicture}%
    }%
    \begin{frame}[plain]
      \vfill
      \begin{center}
        {\fontsize{34}{40}\selectfont\color{white}#1\par}
      \end{center}
      \vfill
    \end{frame}
  }%
}

\newenvironment{HICBigNumber}[2]
  {\begin{columns}[T,onlytextwidth]\begin{column}{0.25\textwidth}
   {\fontsize{42}{46}\selectfont\color{hicturquoise}#1\par}
   {\large\color{hicdarkblue}#2\par}
   \end{column}\begin{column}{0.70\textwidth}}
  {\end{column}\end{columns}}

\title{YOUR TITLE GOES\\HERE}
\subtitle{}
\author{Author Name}
\institute{Institution}
\date{June 22--26, 2026}

\begin{document}

\HICTitleSlide

\begin{frame}{Motivation}
  \begin{itemize}
    \item Replace this example content with your presentation material.
    \item Use ordinary Beamer blocks, columns, equations, tables, and figures as usual.
  \end{itemize}
\end{frame}

\begin{frame}{Key Result}
  \begin{HICBigNumber}{42\%}{Improvement}
    This slide shows a simple content pattern that fits the HIC 2026 header.

    \vspace{0.35cm}
    \begin{block}{Takeaway}
      Use concise blocks and figures below the banner area.
    \end{block}
  \end{HICBigNumber}
\end{frame}

\HICSectionSlide{Section Divider}

\begin{frame}{Two-Column Layout}
  \begin{columns}[T,onlytextwidth]
    \begin{column}{0.48\textwidth}
      \textbf{Left column}
      \begin{itemize}
        \item Point one
        \item Point two
      \end{itemize}
    \end{column}
    \begin{column}{0.48\textwidth}
      \textbf{Right column}
      \begin{itemize}
        \item Point three
        \item Point four
      \end{itemize}
    \end{column}
  \end{columns}
\end{frame}

\end{document}
